public static final KeyTemplate hmacSha512Template() {
    return exceptionIsBug(
        () ->
            KeyTemplate.createFrom(
                HmacPrfParameters.builder()
                    .setKeySizeBytes(64)
                    .setHashType(HmacPrfParameters.HashType.SHA512)
                    .build()));
  }
Returns a {@link KeyTemplate} that generates new instances of HMAC keys with the following
parameters:

<ul>
  <li>Key size: 64 bytes
  <li>Hash function: SHA512
  <li>Prefix type: {@link KeyTemplate.OutputPrefixType#RAW}
</ul>
java_src/src/main/java/com/google/crypto/tink/prf/HmacPrfKeyManager.java