1.2.1 • Published 3 years ago

node-crypto-rsa v1.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Description

This library provides a simple interface to use RSA encryption and decryption.

Example

const rsaUtil = new RSAUtil()
rsaUtil.createPairKeys()

const valueToEncrypt = 'Hello World'
const encryptedData = rsaUtil.encrypt(valueToEncrypt)
console.log(encryptedData) // show a value like this: 9a8f7f6e5d4c3b2a1918...

const decrypted = rsaUtil.decrypt(encryptedData)
console.log(decrypted) // show 'Hello World'
1.2.1

3 years ago

1.2.0

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago