A few basics about RSA (Rivest – Shamir – Adleman) 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.
https://github.com/bcgit
https://github.com/anishnath/crypto-tool
https://github.com/jaysridhar/java-stuff