Package | Description |
---|---|
org.encryptor4j.factory | |
org.encryptor4j.util |
Modifier and Type | Method and Description |
---|---|
Encryptor |
EncryptorFactory.messageEncryptor(java.security.Key key)
Returns an
Encryptor instance usable for message encryption. |
Encryptor |
DESEncryptorFactory.messageEncryptor(java.security.Key key) |
Encryptor |
AESEncryptorFactory.messageEncryptor(java.security.Key key) |
Encryptor |
EncryptorFactory.streamEncryptor(java.security.Key key)
Returns an
Encryptor instance usable for stream encryption. |
Encryptor |
DESEncryptorFactory.streamEncryptor(java.security.Key key) |
Encryptor |
AESEncryptorFactory.streamEncryptor(java.security.Key key) |
Modifier and Type | Method and Description |
---|---|
Encryptor |
TextEncryptor.getEncryptor()
Returns the encryptor.
|
Encryptor |
FileEncryptor.getEncryptor()
Returns the encryptor.
|
Constructor and Description |
---|
FileEncryptor(Encryptor encryptor)
Constructs a default
FileEncryptor instance using the given Encryptor . |
TextEncryptor(Encryptor encryptor)
Constructs a
TextEncryptor instance using the given Encryptor . |