node-encrypt-js
v1.0.4
Published
`npm install node-encrypt-js`
Downloads
30
Maintainers
Readme
node-encrypt-js
How To Use
npm install node-encrypt-js
Then:
const JSEncrypt = require('node-encrypt-js')
const encrypt = new JSEncrypt()
Use:
encrypt.setPublicKey(Public key or Private key)
encrypt.encrypt(text) or encrypt.encryptLong(text)
encrypt.decrypt(text) or encrypt.decryptLong(text)