Facebook Conceal for node.js
Compatible with Facebook Conceal 2.0
Usage
Conceal
const Conceal = ;const conceal = 'my-password'; // orconst conceal = 'my-password' myKey encoding;// encoding: hex or base64// myKey: 32 bytes with ${encoding} encoded string
String
const plain = 'hello world @ 2020';const encrypted = conceal;const decrypted = conceal;
File
const srcFilePath = 'test/xxy007.png';const encFilePath = `.enc`;const decFilePath = `dec.`; conceal ;
Using is Browser