Files
XP-System/config/encrypt.js
T
2021-01-25 08:46:35 -08:00

14 lines
383 B
JavaScript

const bcrypt = require('bcryptjs');
// Set `password` as the password you will use
// Then Run this script and copy the output as it is your encrypted password
let password = "APPLEZ57";
// Encrypts password and returns encrypted password
bcrypt.genSalt(10, (err, salt) => {
bcrypt.hash(password, salt, (err, hash) => {
if (err) throw err;
console.log(hash);
});
});