public class MAC extends Object
| 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 static byte[] hmacsha1(SecretKeySpec key, byte[] input) throws InvalidKeyException
InvalidKeyExceptionpublic static byte[] hmacsha1(byte[] keyBytes,
byte[] input)
throws InvalidKeyException
InvalidKeyExceptionCopyright © 2024. All rights reserved.