Package org.cryptacular.generator
Interface Nonce
- All Known Implementing Classes:
BigIntegerCounterNonce
,CounterNonce
,EncryptedNonce
,LongCounterNonce
,RBGNonce
,RBGNonce
public interface Nonce
Nonce generation strategy.
- Author:
- Middleware Services
-
Method Summary
-
Method Details
-
generate
Generates a nonce value.- Returns:
- Nonce bytes.
- Throws:
LimitException
- When a limit imposed by the nonce generation strategy, if any, is exceeded.
-
getLength
int getLength()- Returns:
- Length in bytes of generated nonce values.
-