logickcrypt
logickcrypt is a lightweight JavaScript library that provides encryption and decryption functions using a custom encryption algorithm based on the Logick principle.
Installation
You can install logickcrypt via npm:
npm install logickcrypt
Usage
To use logickcrypt in your JavaScript project, require the package and use its functions as shown in the example below:
const logickcrypt = require('logickcrypt');
const encryptedMessage = logickcrypt.encrypt('Hello, world!');
const decryptedMessage = logickcrypt.decrypt(encryptedMessage);
console.log(decryptedMessage);
API
The logickcrypt package exposes the following functions:
encrypt(message)
message (string): The message to encrypt.
decrypt(encryptedMessage)
encryptedMessage (string): The encrypted message to decrypt.