Crypto.js helper - for lazy people (like me)
npm install --save take-my-hash
const tmh = require('take-my-hash');
let hash = tmh.AESEncrypt('my text', 'my key 123');
let rawText = tmh.AESDecrypt(hash, 'my key 123');
console.log(hash, rawText);
let hash = tmh.md5('my text');
let hash = tmh.sha1('my text');
let hash = tmh.sha224('my text');
let hash = tmh.sha256('my text');
let hash = tmh.sha384('my text');
let hash = tmh.sha3('my text');
let hash = tmh.sha512('my text');