leo-encryptor
v1.0.5
Published
Simple number encrypt and decrypt library
Maintainers
Readme
leo-encryptor
Simple and lightweight encryption and decryption library for numbers.
✨ Features
- 🔒 Encrypt numbers easily
- 🔓 Decrypt values back to original numbers
- ⚡ Lightweight and fast
- 📦 No external dependencies
- 🧩 Easy integration with Node.js projects
📦 Installation
Install via npm:
npm install leo-encryptor
## Usage
```javascript
const enc = require("leo-encryptor");
const SECRET = 7018894592;
const encrypted = enc.encryptNumber(1234, SECRET);
console.log(encrypted);
const decrypted = enc.decryptNumber(encrypted, SECRET);
console.log(decrypted);