Package org.bouncycastle.crypto.fips
Class FipsNonceGenerator
java.lang.Object
org.bouncycastle.crypto.fips.FipsNonceGenerator
Nonce generator for use with AEAD ciphers such as GCM. The generator guarantees the sequence
number cannot wrap or go backwards.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FipsNonceGenerator
public FipsNonceGenerator(byte[] baseNonce, int counterBits)
-
-
Method Details
-
generateNonce
public void generateNonce(byte[] nonce)
-