RSA Encryption-Decryption : BadPaddingException : Data must start with zero
问题 I'm sorry to ask your skills about a question asked so many times. I have an issue about RSA crypthography. I've already checked the other topics about this issue but i didn't find any helpful answer. I hope you'll be able to help me. I want to read a file, crypt its contain and then decrypt it and put these decrypted bytes in a new file. I actually can : - get the bytes of a file - crypt it I have the exception : javax.crypto.BadPaddingException: Data must start with zero. Here is my code :