9.7.0 • Published 9 months ago
@rline/crypto v9.7.0
@rline/crypto
Encrypt, decrypt, hash, and compare hash value.
Installation
pnpm add @rline/cryptoUsage
import { randomBytes } from 'crypto';
import { encrypt } from '@rline/crypto';
const key = randomBytes(32);
const iv = randomBytes(32);
const data = 'Hello';
const encryptedData = encrypt(data, key, iv); // output: { iv, data(encrypted) }
const decryptedData = decrypt(encryptedData, key, iv); // output: "Hello"Documentation
Detailed documentation Documentation
Funding
Thank you for using @puq/core It's an open-source project, and maintaining it takes time and effort. If you find this library useful, please consider supporting its ongoing development. Your contributions help ensure that the project stays up-to-date, secure, and well-maintained.
Your funding will go toward
- Bug fixes and updates to ensure compatibility with the latest versions of dependencies.
- New features that will make the library even more powerful.
- Documentation improvements to help users get the most out of Your Library Name.
- General maintenance to keep the library running smoothly and securely.
Contact to the developer: robert.brightline@gmail.com
9.7.0
9 months ago
9.6.0
9 months ago
9.5.0
9 months ago
9.4.0
9 months ago
9.3.0
9 months ago
9.2.0
9 months ago
9.1.0
9 months ago
9.0.1
9 months ago
9.0.0
9 months ago
8.5.0
9 months ago
8.4.0
9 months ago
8.3.0
10 months ago
8.2.0
10 months ago
8.1.1
10 months ago
8.1.0
10 months ago
8.0.1
10 months ago
7.1.1
10 months ago
7.1.0
10 months ago
7.0.0
10 months ago
6.0.0
10 months ago