readthefuckingmanual.net

[SOLVED] javax.crypto.IllegalBlockSizeException: Data must not be longer than 245 bytes

Error added: 2007-07-14T09:38:41Z

1 people waiting for the answer...

3 answers found.

Answer 529 (52.941177% helpful)

Use a longer RSA key !
Permalink

Answer 1734 (16.666666% helpful)

jjjjjjjjjjjjjjjjjjjjjjjjjjjj jhjhjkhjkhjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk k k k k kkkkkkkkkkkkkkkkkkkkkkkkkkkk
Permalink

Answer 530 (0.0% helpful)

Hmm. Yes. Or don\'t try and encrypt more than 245 bytes with that length key.
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: