- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testKnownInputs (0.15 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
mac.init(SHA1_KEY); assertThat(HashCode.fromBytes(mac.doFinal()).toString()).isEqualTo(knownOutput); assertThat(hmacMd5(SHA1_KEY).newHasher().hash().toString()).isEqualTo(knownOutput); } public void testKnownInputs() throws Exception { String knownOutput = "9753980fe94daa8ecaa82216519393a9"; String input = "The quick brown fox jumps over the lazy dog"; Mac mac = Mac.getInstance("HmacMD5"); mac.init(MD5_KEY);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 14.2K bytes - Click Count (0)