public interface EncryptionService
Modifier and Type | Method and Description |
---|---|
byte[] |
decryptBytes(byte[] encryptedBytes)
Decrypt this byte array
|
java.lang.String |
decryptString(byte[] encryptedString)
Decrypt this String
|
byte[] |
encryptBytes(byte[] clearBytes)
Encrypt this byte array
|
byte[] |
encryptString(java.lang.String clearString)
Encrypt this String
|
java.lang.String |
getAlgorithm()
The algorithm used to encrypt
|
byte[] encryptBytes(byte[] clearBytes) throws EncryptionServiceException
EncryptionServiceException
byte[] decryptBytes(byte[] encryptedBytes) throws EncryptionServiceException
EncryptionServiceException
byte[] encryptString(java.lang.String clearString) throws EncryptionServiceException
EncryptionServiceException
java.lang.String decryptString(byte[] encryptedString) throws EncryptionServiceException
EncryptionServiceException
java.lang.String getAlgorithm()