MCPcopy Index your code
hub / github.com/antlr/codebuff / hmacMd5

Method hmacMd5

output/java_guava/1.4.17/Hashing.java:288–290  ·  view source on GitHub ↗

Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the MD5 (128 hash bits) hash function and the given secret key. @param key the secret key @throws IllegalArgumentException if the given key is inappropriate for initializing this MAC @since 20.0

(Key key)

Source from the content-addressed store, hash-verified

286
287
288 public static HashFunction hmacMd5(Key key) {
289 return new MacHashFunction("HmacMD5", key, hmacToString("hmacMd5", key));
290 }
291
292 /**
293 * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the

Callers

nothing calls this directly

Calls 2

hmacToStringMethod · 0.95
checkNotNullMethod · 0.45

Tested by

no test coverage detected