Classé | Inclassable

RSA encryption and decryption in Java

A few basics about RSA (RivestShamirAdleman) cryptography encryption and decryption in java. Just for comparison with what we habitually do with openSSL without understanding any command 🙂

Check it online.

Reminder : RSA is an Asymmetric encryption technique that uses two different keys as public and private keys to perform the encryption and decryption. With RSA, you can encrypt sensitive information with a public key and a matching private key is used to decrypt the encrypted message. See details on RSA Cryptosystem on Wikipedia.

Public and private keys generation using KeyPairGenerator and asymmetric encryption and decryption with these keys.

How to Generate RSA Keys in Java


You must be logged in to post a comment.