i have a short program that encrypts and decrypts a message by using the RSA algorithm.i have a pair of keys(private and public key) and a Cipher object:
Cipher ciph = Cipher.getInstance("RSA/ECB/PKCS1Padding");
my problem is that it encrypts and decrypts a message that is no longer than 117 bytes..
How can i encrypt and decrypt a bigger message?
0 · ·