Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const { SHA256 } = require('crypto-js');
- const password = 'I am so secret, dude';
- const hash = SHA256(password);
- console.log(`My password is ${password}`);
- console.log(`My hashed password is ${hash}`);
Add Comment
Please, Sign In to add comment