@Test public void testMD4() { MAC hmac = HMAC.md4(ascii(EMPTY_STRING)); assertArrayEquals(hex("c8d444e3153b538850e7850fa84bb247"), hmac.digest(ascii(EMPTY_STRING))); hmac = HMAC.md4(ascii("key")); assertArrayEquals(hex("8d3366c440a9c65124ab0b5f4ca27338"), hmac.digest(ascii(PANGRAM))); }