public static final class ChaCha20.Parameters extends GeneralParametersWithIV<ChaCha20.Parameters>
blockSize, iv| Modifier and Type | Method and Description |
|---|---|
protected ChaCha20.Parameters |
create(GeneralAlgorithm algorithm,
byte[] iv) |
ChaCha20.Parameters |
withIV(java.security.SecureRandom random)
Return an implementation of our parameterized type with an IV constructed from the passed in SecureRandom.
|
getIV, withIVgetAlgorithmclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic ChaCha20.Parameters withIV(java.security.SecureRandom random)
GeneralParametersWithIVwithIV in interface ParametersWithIV<ChaCha20.Parameters>withIV in class GeneralParametersWithIV<ChaCha20.Parameters>random - the SecureRandom to use as the source of IV data.protected ChaCha20.Parameters create(GeneralAlgorithm algorithm, byte[] iv)