1.0.2 • Published 4 years ago
ro-encrypt v1.0.2
Representational Object Encryption
Getting Started
// import the Class as UpperCase because all functions are static
const ROE = require('ro-encrypt');
const plainPassword = 'your-secret';
const key = ROE.createKey(plainPassword);
const encrypted = ROE.encrypt(plainPassword, key);
const decrypted = ROE.decrypt(encrypted, key);