MCPcopy Create free account
hub / github.com/antlr/codebuff / hmacToString

Method hmacToString

corpus/java/training/guava/hash/Hashing.java:353–359  ·  view source on GitHub ↗
(String methodName, Key key)

Source from the content-addressed store, hash-verified

351 }
352
353 private static String hmacToString(String methodName, Key key) {
354 return String.format(
355 "Hashing.%s(Key[algorithm=%s, format=%s])",
356 methodName,
357 key.getAlgorithm(),
358 key.getFormat());
359 }
360
361 /**
362 * Returns a hash function implementing the CRC32C checksum algorithm (32 hash bits) as described

Callers 4

hmacMd5Method · 0.95
hmacSha1Method · 0.95
hmacSha256Method · 0.95
hmacSha512Method · 0.95

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected