14 lines
285 B
JavaScript
14 lines
285 B
JavaScript
const Cryptr = require('cryptr');
|
|
const cryptr = new Cryptr('BBLBTV-DNS-PASSWORDS');
|
|
|
|
function decryptPassword(password) {
|
|
const decryptedString = cryptr.decrypt(password);
|
|
// console.log(decryptedString)
|
|
return decryptedString
|
|
}
|
|
|
|
module.exports = {
|
|
decryptPassword
|
|
}
|
|
|