1.0.2 • Published 3 years ago
@nacho-cs/aes
Licence
ISC
Version
1.0.2
Deps
0
Size
2 kB
Vulns
0
Weekly
0
aes
Quick and easy encryption using AES
IMPORTANT: Do not use this package for encrpyting passwords. Use bcrpyt for encrypting passwords.
import { aes } from "@nacho-cs/aes";
const encryption = aes.encrypt("some data");
console.log(encryption); // <encryption>
console.log(aes.decrypt(encryption)); // "some data"