MessageDigest

  • Tags: encoding, codec
  • Latest: 1.1
  • Last Updated: 12 March 2009
  • Grails version: 1.1 > *
  • Authors: Marcel Overdijk
0 vote
Dependency:
compile ":message-digest:1.1"

 Documentation

Summary

Description

Message Digest Plugin

This simple plugin provides message digest codecs (currently SHA1 and SHA1Hex) to encode strings.

(!) This plugin is updated to Grails 1.1

Installation

To install the i18n templates plugin type this command from your project's root folder:

grails install-plugin message-digest

Example

"some string".encodeAsSHA1()
"some string".encodeAsSHA1Hex()
"some string".encodeAsMD5()
"some string".encodeAsMD5Hex()

Plugin version history

1.1 (March 10, 2009)

  • Added MD5 support

1.0 (March 10, 2009)

  • Initial release containing SHA1 and SHA1Hex codecs