@Test public void testMD5() { MAC hmac = HMAC.md5(ascii(EMPTY_STRING)); assertArrayEquals(hex("74e6f7298a9c2d168935f58c001bad88"), hmac.digest(ascii(EMPTY_STRING))); hmac = HMAC.md5(ascii("key")); assertArrayEquals(hex("80070713463e7749b90c2dc24911e275"), hmac.digest(ascii(PANGRAM))); }