public class LongCounterNonce extends Object implements Nonce
Instances of this class are thread safe.
BigIntegerCounterNonce
Constructor and Description |
---|
LongCounterNonce()
Creates a new instance whose counter values start at 1.
|
LongCounterNonce(long start)
Creates a new instance whose counter values start above the given value.
|
public LongCounterNonce()
public LongCounterNonce(long start)
start
- Start value.public byte[] generate() throws LimitException
Nonce
generate
in interface Nonce
LimitException
- When a limit imposed by the nonce generation strategy, if any, is exceeded.Copyright © 2003-2024 Virginia Tech. All Rights Reserved.