A wrapper for the ypccrypto library to do the encryption/decryption in JavaScript.
npm install ypccrypto.js
-
YPCCrypto.generateEncryptedInput(local_pkey, input) --> {ArrayBuffer}
-
YPCCrypto.decryptMessage(local_skey, encrypted_input) --> {Buffer}
- ...
- 0.9.0 : test version
- 0.9.1 : change the crypto-js back to crypto for the encryption