T
- the parameters type for the encryptor's cipher.public interface SingleBlockEncryptorUsingSecureRandom<T extends Parameters> extends SingleBlockEncryptor<T>, OperatorUsingSecureRandom<SingleBlockEncryptorUsingSecureRandom<T>>
Modifier and Type | Method and Description |
---|---|
SingleBlockEncryptorUsingSecureRandom<T> |
withSecureRandom(java.security.SecureRandom random)
Return a variant of this encryptor using the passed in random as its source of randomness.
|
encryptBlock
getInputSize, getOutputSize, getParameters
SingleBlockEncryptorUsingSecureRandom<T> withSecureRandom(java.security.SecureRandom random)
withSecureRandom
in interface OperatorUsingSecureRandom<SingleBlockEncryptorUsingSecureRandom<T extends Parameters>>
random
- the SecureRandom to use.