Encryption lib
npm install @atarraya/encrypt_libjavascript
import { encrypt } from '../encryption';
const input = 'Text to ecrypt';
const secret = 'long-secret-string';
const ecryptedText = await encrypt(input, secret);
`
$3
`javascript
import { decrypt } from '../decryption';
const ecryptedText = 'encrypted-text';
const secret = 'long-secret-string';
const text = await encrypt(ecryptedText, secret);
`
Installation
`bash
$ npm install --save @sihay.ztch/encrypt_lib
``