asimplersa
v1.0.0
Published
encryptage RSA
Downloads
1
Readme
simplersa
description
a encrytage to rsa to have key
const rsa = require('asimplersa')
console.log(rsa.keys)
to encrypt message
const rsa = require('asimplersa')
console.log(rsa.encrypt(E,N,"a message"))
to decrypt message
const rsa = require('asimplersa')
console.log(rsa.decrypt(D,N,C /* the value who is encrypte*/))