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
InvalidKeyException
public static byte[] hmacsha1(byte[] keyBytes, byte[] input) throws InvalidKeyException
InvalidKeyException
Copyright © 2018. All rights reserved.