1.0.0 • Published 8 years ago
take-my-hash v1.0.0
Take my Hash - 
Crypto.js helper - for lazy people (like me)
Quickstart
npm install --save take-my-hashconst tmh = require('take-my-hash');AES
let hash = tmh.AESEncrypt('my text', 'my key 123');
let rawText = tmh.AESDecrypt(hash, 'my key 123');
console.log(hash, rawText);MD5
let hash = tmh.md5('my text');SHA1
let hash = tmh.sha1('my text');SHA224
let hash = tmh.sha224('my text');SHA256
let hash = tmh.sha256('my text');SHA384
let hash = tmh.sha384('my text');SHA3
let hash = tmh.sha3('my text');SHA512
let hash = tmh.sha512('my text');1.0.0
8 years ago