ktvmanager/lib/password.js
karl.hudgell b7d4aae21c udpates
2021-03-26 12:42:13 +00:00

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
}