Stand 04102018
Current features:
- Encrypt strings with base64
- Decrypt string with base64
Setup for the project
Download the module with the command: npm install --save baser64
Import the module with:
const baser64 = ;
Important Notice
This package is a extension package for the lsj npm package
https://www.npmjs.com/package/lsj
Providing a own Hash file
The own hash file is not required but recommended because we're changing the hash key on every 25th a month. The old key can be requested by email or issue ticket.
If you want to use a own hash that effects the encryption please create a file in your main project:
/src/mmdH.xv
This file type doesn't require any special kind of formating. But the hash the length of the hash has to be at least 1024 character long.
encryption usage
var text = "The text you want to use"; var enc = baser64;
decryption usage
var text = "ENCRYPTED MESSAGE"; var dec = baser64;