public class MD5Template extends java.lang.Object implements Template, java.io.Serializable
Constructor and Description |
---|
MD5Template(java.lang.Object key,
byte[] digest) |
MD5Template(java.lang.Object key,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
byte[] |
digest(java.lang.Object obj) |
boolean |
equals(java.lang.Object obj) |
byte[] |
getDigest() |
java.lang.String |
getDigestAsString() |
java.lang.Object |
getKey() |
int |
hashCode() |
static byte[] |
serialize(java.lang.Object obj) |
java.lang.String |
toString() |
public MD5Template(java.lang.Object key, java.lang.Object value)
public MD5Template(java.lang.Object key, byte[] digest)
public byte[] digest(java.lang.Object obj)
public boolean equals(java.lang.Object obj)
public int hashCode()
hashCode
in class java.lang.Object
public byte[] getDigest()
public java.lang.String getDigestAsString()
public java.lang.String toString()
toString
in class java.lang.Object
public static byte[] serialize(java.lang.Object obj) throws java.io.IOException
java.io.IOException