public static final class DES.Parameters extends GeneralParameters<GeneralAlgorithm> implements ParametersWithIV
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getIV()
Return the initialization vector associated with this parameter set.
|
DES.Parameters |
withIV(byte[] iv)
Create a new parameter set with a different IV.
|
DES.Parameters |
withIV(java.security.SecureRandom random)
Create a new parameter set with a different IV based on the output
of the passed in random.
|
getAlgorithmclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic DES.Parameters withIV(byte[] iv)
ParametersWithIVwithIV in interface ParametersWithIViv - the IV to use.public DES.Parameters withIV(java.security.SecureRandom random)
ParametersWithIVwithIV in interface ParametersWithIVrandom - the SecureRandom to use as the source of IV data.public byte[] getIV()
ParametersWithIVgetIV in interface ParametersWithIV