onelineCrypto
oneline code to encryt and decrypt for nodejs
support both browser and node
you can just webpack entry.js bundle.js --module-bind="json=json-loader" then bundle.js can run in browser!!!
utility
MD5 SHA256 encryptAES decryptAES easyEn easyDe RSA things
Usage
var md5 = ;var sha = ;var re = ;var content = ;var re1 = ;var content2 = ;
RSA
var rsa = rsa;rsa;var pub = rsa;var pri = rsa;var result = rsa;console;var deResult = rsa;console