Finding JavaScript RSA Encryption Recommendations

I need to encrypt data entered by users in a client-side form. There is no ssl encryption in my environment, but I found that in my case I can achieve a similar result using RSA encryption. The public key will be used on the client side, and the owner of the secret key will later be able to extract and decrypt the data.

Before going down this route, I would like to make sure that I did not miss any key question. So here are a few questions:

  • Can you recommend JavaScript libraries that perform RSA encryption?
  • What guarantees their reliability?
  • What are the disadvantages of this technique? For example, a lost message if the user closes the browser too quickly?

Generally speaking, I would be interested in any advice on this JavaScript RSA encryption method.

Update: the only RSA JavaScript I've found so far is on this page: http://www.ohdave.com/rsa/ Any feedback on this?

Also, I'm fine with encryption other than RSA, if you have any recommendations. My limitation is to have a 100% JavaScript solution.

+5
source share
4 answers

(www.jcryption.org ), , TLS - ; script , , , , , , .

+4

asmcrypto.js - , RSA, damn fast.

BTW , .

+1
source

Simple lightweight javascript crypto4js library implemented RSA encryption. You can use it https://github.com/atul19971/crypto4js .

0
source

All Articles