Encrypt.js

GUI test
How to: require encrypt.js
**encrypt("text") will return a json object (encrypted_data, hash) Using A new hash.
**encrypt("text","your hash") will encrypt the text using the same hash you provided Your saved hash returns: (encrypted_data,hash)
**decrypt("text","hash") will decrypt the text Returns(json): decrypted_data
TEXT:




Encrypted Text (Result):
Hash