encryption
Nov 03, 2008
Grails encryption plugin now on GitHub
Since we're on a release roll, I've uploaded the encryption plugin to GitHub.
Mar 01, 2008
Encryption plugin documentation updated
I've expanded the documentation for our Grails Encryption Plugin directly on the Grails Wiki. It includes examples taken directly from the plugin's unit tests, as well as some extra explanations.
Feb 12, 2008
Grails encryption plugin
This time we've released a Grails plugin for encryption functions, using the Bouncy Castle libraries. It currently provides simple wrappers for both Blowfish and PGP, as well as a tool class for generating random passwords, salting passwords when hashing them, and verifying salted passwords.
To install, execute
grails install-plugin http://www.arquetipos.co.cr/blog/files/grails-crypto-1.0.1.zip
The code is documented, and you'll find many test cases for the most common tasks. I'll eventually expand the documentation here as well as on the Grails wiki.
I'll be on the Grails User's List if you have any questions.
Update:
I've uploaded version 1.0.1, which has the following changes:
- Added HexCodec class.
- Default saltedPassword function will return the value as a byte array, use saltedPasswordHex and saltedPasswordBase64 for string values with the respective encodings. This was done for consistency with the Apache commons nomenclatures.


