1.1.0 • Published 2 years ago

lena-cipher v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

lena-cipher

A cryptography package that allows for encryption and decryption of messages using a customized key.

Usage

const { Cipher } = require('lena-cipher');

const cipher = new Cipher('MyCustomPrivateKey');

const message = 'Hello World!';

const encoded = await cipher.encrypt(message);
const decoded = await cipher.decrypt(encoded);

console.log(encoded);   //G8TFM7phGxppN7ty
console.log(decoded);   //Hello World!

Author

Made with ♥ by fidilen.

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago