public class DESEncryptorFactory extends java.lang.Object implements EncryptorFactory
Factory class for constructing DES Encryptor
instances.
AES, DES
Constructor and Description |
---|
DESEncryptorFactory() |
Modifier and Type | Method and Description |
---|---|
Encryptor |
messageEncryptor(java.security.Key key)
Returns an
Encryptor instance usable for message encryption. |
Encryptor |
streamEncryptor(java.security.Key key)
Returns an
Encryptor instance usable for stream encryption. |
public final Encryptor messageEncryptor(java.security.Key key)
EncryptorFactory
Returns an Encryptor
instance usable for message encryption.
messageEncryptor
in interface EncryptorFactory
public final Encryptor streamEncryptor(java.security.Key key)
EncryptorFactory
Returns an Encryptor
instance usable for stream encryption.
streamEncryptor
in interface EncryptorFactory