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