Current features:
- encrypting strings
- decrypting strings
- generating a md5 hash
Setup for the project
Download the module with the command: npm install --save lsj
Import the module with:
const lsj = ;
encryption method usage
var text = "The text you want to use";var key = "Enter a random generated key with a length of 16 characters"; var encText = lsj;
decryption method usage
var encText = "The text you want to encrypt";var key = "The key used to encrypt the string"; var text = lsj;
MD5-hash generator usage
var text = "The text you want to use"; var md5 = lsj;
SHA256-hash generator usage
var text = "The text you want to use"; var hash = lsj;