1.0.0 • Published 2 years ago
enjoys_encrypt-decrypt v1.0.0
encrypt-decrypt-npm-package-enjoys
Developer : Mulayam
Before implementing Please Provide A Secret Key in environment variable (.env File with name) if not this env variable not found then package will use default encryption key.
IN .ENV FILE
ENCRYPTION_KEY = "YOUR SECRET KEY"
or also you can do this
OR Manual Pass of ENRCYPTION KEY
let DecryptData = '074e48c8e3c0bc19f9e22dd7570037392e5d0bf80cf9dd51bb7808872a511b3'
Also can use Destructing Method let {user,password} = EncryptedData
1.0.0
2 years ago