A simple string encode and decode base on string key.
Use the package manager npm.
npm install kryption
import kryption from 'kryption';
// Encode a string
kryption.encode(<string you want to encode>: string, <key>: string);
// Decode a string
kryption.decode(<encoded string>: string, <key>: string);
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Author: ThienKhoi Tran tranthienkhoi@gmail.com