-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added My Project for hacktoberfest 2021
- Loading branch information
TechifyAu
authored and
TechifyAu
committed
Oct 5, 2021
1 parent
61565ab
commit 4e86c0c
Showing
7 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const crypto = require("crypto"); | ||
const Password = require("password-encrypt-util") | ||
|
||
const id = crypto.randomBytes(20).toString('hex'); | ||
let Password1 = new Password(`${id}`) | ||
|
||
let encryptedPassword = Password1.encryptPasswordV2(`${id}`) | ||
console.log(encryptedPassword) | ||
|
||
// Generates a Random Password Then Gets Encrypted | ||
// Uses Crypto and https://www.npmjs.com/package/password-encrypt-util | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters