Details
-
Type:
New Feature
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: v0.9.3
-
Component/s: None
-
Labels:None
Description
It was suggested in another bug that it would be nice to be able to add an event attribute which contains the MD5 sum of the event body.
My suggestion here would be a DigestDecorator, exposed as 'digest' with 2 configuration parameters:
algorithm: MD5, SHA1 (list in http://download.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html#MessageDigest)
attribute name: the attribute to store the message digest in
This can just use the standard java.security.MessageDigest