Package dev.uni_hamburg.security.otp.api
Class Hmac
- java.lang.Object
-
- dev.uni_hamburg.security.otp.api.Hmac
-
public class Hmac extends Object
-
-
Field Detail
-
ALGORITHM
public static final String ALGORITHM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Hmac
public Hmac(Hash hash, byte[] secret, long currentInterval)
-
-
Method Detail
-
digest
public byte[] digest() throws NoSuchAlgorithmException, InvalidKeyException
-
-