cryptr is a simple encrypt and decrypt module for node.js
It is for doing simple encryption of values UTF-8 strings that need to be decrypted at a later time.
If you require anything more than that you probably want to use something more advanced or crypto directly.
The Cryptr constructor takes 1 required and 1 optional argument.
If an algorithm is not provided it defaults to
DO NOT USE THIS MODULE FOR ENCRYPTING PASSWORDS!
Passwords should be a one way hash. Use bcrypt for that.
npm install cryptr
var Cryptr =cryptr = 'myTotalySecretKey';var encryptedString = cryptrdecryptedString = cryptr;console; // d7233809c0console; // bacon