public class HOTPGenerator extends AbstractOTPGenerator
| Constructor and Description |
|---|
HOTPGenerator() |
| Modifier and Type | Method and Description |
|---|---|
int |
generate(byte[] key,
long count)
Generates the OTP given a per-user key and invocation count.
|
protected org.bouncycastle.crypto.Digest |
getDigest() |
generateInternal, getNumberOfDigits, setNumberOfDigitspublic int generate(byte[] key,
long count)
key - Per-user key.count - Counter moving factor.protected org.bouncycastle.crypto.Digest getDigest()
getDigest in class AbstractOTPGeneratorCopyright © 2003-2024 Virginia Tech. All Rights Reserved.