File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes GCM integrity checking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "GCM integrity checking" Watch "GCM integrity checking" New topic

GCM integrity checking

john roney

Joined: Jun 19, 2012
Posts: 13
I'm using BouncyCastle's AES in GCM mode to encrypt some files in J2SE 1.6.
I can't find out how to use GCM's integrity check when I decrypt files.
How can I check file is decrypted correctly?

It is sorta covered in the JavaRanch Style Guide.
subject: GCM integrity checking
Similar Threads
Tomcat Manager Authentication fails
what to do about these exceptions
Dummy operation to check integrity
How to check the integrity of uploaded file
check PGP in downloaded files