Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the SHA-512 (512 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)
| 334 | * @since 20.0 |
| 335 | */ |
| 336 | public static HashFunction hmacSha512(Key key) { |
| 337 | return new MacHashFunction("HmacSHA512", key, hmacToString("hmacSha512", key)); |
| 338 | } |
| 339 | |
| 340 | /** |
| 341 | * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the |
nothing calls this directly
no test coverage detected