1.0.4 • Published 2 years ago

logickcrypt v1.0.4

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

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');

// Encrypt a message
const encryptedMessage = logickcrypt.encrypt('Hello, world!');

// Decrypt the encrypted message
const decryptedMessage = logickcrypt.decrypt(encryptedMessage);

console.log(decryptedMessage); // Output: Hello, world!

API

The logickcrypt package exposes the following functions:

encrypt(message)
//Encrypts the provided message using a salted encryption algorithm and returns the encrypted result.

message (string): The message to encrypt.
decrypt(encryptedMessage)
//Decrypts the provided encryptedMessage using the same salted encryption algorithm and returns the decrypted result.

encryptedMessage (string): The encrypted message to decrypt.
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago