node-encrypt-js

1.0.4 • Public • Published

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)

Package Sidebar

Install

npm i node-encrypt-js

Weekly Downloads

8

Version

1.0.4

License

ISC

Unpacked Size

159 kB

Total Files

3

Last publish

Collaborators

  • zeroxx