View Single Post
  #1  
Old 03-26-2011, 08:50 PM
Java Java is offline
Senior Member
 
Join Date: Jun 2009
Posts: 8,402
Default Problem with: javax.crypto.BadPaddingException: Data must start with zero

Hi I have a problem with RSA encryption/decription of txt files, I have one method to create a pair of RSA keys and save them into a file, then i made two methods, one for encryt and one for decrypt, encrypt method works fine, but when I want to decrypt it shows this exception...
__________________
Java
domain name forum
Reply With Quote