exc
excryptor
npm i excryptor
exc

excryptor

Excryptor is a Cryptography Library for ExpressJS

by emreyartas

1.0.3 (see all)License:ISCTypeScript:Not FoundCategories:Express Cryptography
npm i excryptor
Readme

Excryptor is a Cryptography Library for ExpressJS

SALTInitialization VectorAuth TagPayload
Used to derive keyAES GCM XOR InitData IntegrityEncrypted Data
64 Bytes, random16 Bytes, random16 Bytes(N-96) Bytes

Cipher: AES-256-GCM

Installation:

npm i excryptor -S

var  excryptor  =  require('excryptor');
app.use(excryptor(SECRET_KEY));

Usage:

var encryptStr = excryptor.encrypt('MY_STR'); // Encrypted String ->OAJH1n...
var decryptStr = excryptor.decrypt(encryptStr); // Decrypted String -> MY_STR

Downloads/wk

22

GitHub Stars

1

LAST COMMIT

3yrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
1.0.3
latest
3yrs ago
No tutorials found
Add a tutorial