@Test public void testGetKey1() throws Throwable { byte[] key = new byte[1]; byte[] result = (byte[]) new MD5Template(key, "testString".getBytes()).getKey(); assertSame(key, result, "result"); }
public Object getKey () { return key; }
MD5Template implements Template, Serializable { public Object getKey () { return key; } }
MD5Template implements Template, Serializable { public Object getKey () { return key; } MD5Template(Object key, Object value);  MD5Template(Object key, byte[] digest); }
MD5Template implements Template, Serializable { public Object getKey () { return key; } MD5Template(Object key, Object value);  MD5Template(Object key, byte[] digest); byte[] digest(Object obj); @Override boolean equals(Object obj); @Override int hashCode(); Object getKey(); byte[] getDigest(); String getDigestAsString(); String toString(); static byte[] serialize(Object obj); }
MD5Template implements Template, Serializable { public Object getKey () { return key; } MD5Template(Object key, Object value);  MD5Template(Object key, byte[] digest); byte[] digest(Object obj); @Override boolean equals(Object obj); @Override int hashCode(); Object getKey(); byte[] getDigest(); String getDigestAsString(); String toString(); static byte[] serialize(Object obj);  }