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.
|
getIV
getAlgorithm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlgorithm
public IDEA.Parameters withIV(java.security.SecureRandom random)
GeneralParametersWithIV
withIV
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)
GeneralParametersWithIV
withIV
in interface ParametersWithIV<IDEA.Parameters>
withIV
in class GeneralParametersWithIV<IDEA.Parameters>
iv
- the bytes making up the iv, or nonce, to use.