Interface Encryptor
-
- All Known Implementing Classes:
EncryptorAesCbc,EncryptorAesGcm
public interface Encryptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Stringdecrypt(String encryptedData)Stringencrypt(String dataToEncrypt)StringgetEncryptionTranslation()default StringpasswordsDTOtoString(PasswordsDTO passwordsDTO)Deprecated, for removal: This API element is subject to removal in a future version.Only used for EncryptorAesCBC
-
-
-
Method Detail
-
decrypt
String decrypt(String encryptedData) throws EncryptionRecoverableException
- Throws:
EncryptionRecoverableException
-
encrypt
String encrypt(String dataToEncrypt) throws EncryptionRecoverableException
- Throws:
EncryptionRecoverableException
-
passwordsDTOtoString
@Deprecated(since="0.15.0", forRemoval=true) default String passwordsDTOtoString(PasswordsDTO passwordsDTO)
Deprecated, for removal: This API element is subject to removal in a future version.Only used for EncryptorAesCBC
-
getEncryptionTranslation
String getEncryptionTranslation()
-
-