rsa_encrypt
library
Classes
-
RsaKeyHelper
-
Helper class to handle RSA key generation, encoding, decoding, encrypting
and decrypting strings
Functions
-
decrypt(String ciphertext, RSAPrivateKey privateKey)
→ String
-
Decrypting String
-
encrypt(String plaintext, RSAPublicKey publicKey)
→ String
-
Encrypting String
-
getRsaKeyPair(SecureRandom secureRandom)
→ AsymmetricKeyPair<PublicKey, PrivateKey>
-
Generate a
PublicKey
and PrivateKey
pair