ktvmanager/lib/password.js

14 lines
285 B
JavaScript
Raw Permalink Normal View History

2021-03-26 12:42:13 +00:00
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
}