Constructor and Description |
---|
MAC() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
hmacsha1(byte[] keyBytes,
byte[] input) |
static byte[] |
hmacsha1(SecretKeySpec key,
byte[] input) |
public static final String HMACSHA1
public MAC()
public static byte[] hmacsha1(SecretKeySpec key, byte[] input) throws InvalidKeyException
InvalidKeyException
public static byte[] hmacsha1(byte[] keyBytes, byte[] input) throws InvalidKeyException
InvalidKeyException