public final class HMAC extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HMAC.KeyMaterial |
| Constructor and Description |
|---|
HMAC() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
encode(MessageDigest hashfunc,
byte[] key,
byte[] data) |
static byte[] |
encode(String hashname,
byte[] key,
byte[] data) |
public static byte[] encode(String hashname, byte[] key, byte[] data) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic static byte[] encode(MessageDigest hashfunc, byte[] key, byte[] data)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.