Package overit.geocall.crypto
Interface EncryptionService
- All Known Implementing Classes:
EncryptionServiceImpl
public interface EncryptionService
Service providing useful methods to deal with data encryption/decryption.
-
Method Summary
-
Method Details
-
encrypt
Returns the provided value once it has been encrypted.- Parameters:
valueToBeEncrypted-Stringto be encrypted.- Returns:
- the provided value once it has been encrypted.
- Throws:
CryptoException- exception thrown in case of error occurred during the data encryption.
-
decrypt
Returns the provided value once it has been decrypted.- Parameters:
valueToBeDecrypted-Stringto be decrypted.- Returns:
- the provided value once it has been decrypted.
- Throws:
CryptoException- exception thrown in case of error occurred during the data decryption.
-