@geeleed/cryptor16
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

cryptor16

Encrypt and decrypt text using the @geeleed/cryptor16 library.

Installation

Install the package from npm:

npm i @geeleed/cryptor16

Usage To run tests, use the following command:

npm run test

Description cryptor16 is a simple algorithm for encrypting and decrypting text using a key. This project is developed purely for hobby purposes.

Example

const cryptor16 = require('@geeleed/cryptor16');

const key = 'your-secret-key';
const text = 'Hello, World!';

const encryptedText = cryptor16.encrypt(text, key);
console.log('Encrypted:', encryptedText);

const decryptedText = cryptor16.decrypt(encryptedText, key);
console.log('Decrypted:', decryptedText);

Remember to replace 'your-secret-key' with your actual secret key.

Readme

Keywords

none

Package Sidebar

Install

npm i @geeleed/cryptor16

Weekly Downloads

1

Version

2.1.0

License

ISC

Unpacked Size

9.94 kB

Total Files

6

Last publish

Collaborators

  • geeleed