Assuming I have the RSA forge (javascript) library, does the pure-RSA implementation work for information transferring? I know that the forge library has the keysystem and everything, but I want to know if this standalone RSA implementation is secure.

  • Secure against what? – MechMK1 Aug 29 '19 at 11:19
  • client side? no ... for many reasons. – CaffeineAddiction Sep 9 '19 at 18:42

It should be secure if used correctly, however, using raw RSA correctly is a difficult task. Because it is easy to make a critical mistake, using low level primitives is discouraged and considered bad practice. You should get a high level library with simple API if possible.

If you can't, make sure you read up on RSA padding and all the peculiarities of RSA, such as it being dangerous to encrypt the same message with many RSA public keys.

Not the answer you're looking for? Browse other questions tagged or ask your own question.