I'm using Write/ReadEncryptedObject with a Random Access File which works just fine if the password is correct! However if the user enters the wrong password the system crashes with:=
java.lang.RuntimeException: Invalid environment
blah, blah, blah
Caused by: javax.crypto.BadPaddingException: pad block corrupted
Anybody know how to test for this/trap this before the system crash?
Thanks in advance,
Dougla
java.lang.RuntimeException: Invalid environment
blah, blah, blah
Caused by: javax.crypto.BadPaddingException: pad block corrupted
Anybody know how to test for this/trap this before the system crash?
Thanks in advance,
Dougla