Package org.jasypt.encryption
Interface StringEncryptor
- All Known Subinterfaces:
PBEStringCleanablePasswordEncryptor
,PBEStringEncryptor
- All Known Implementing Classes:
PooledPBEStringEncryptor
,StandardPBEStringEncryptor
public interface StringEncryptor
Common interface for all Encryptors which receive a String message and return a String result.
- Since:
- 1.0
-
Method Summary
-
Method Details
-
encrypt
Encrypt the input message- Parameters:
message
- the message to be encrypted- Returns:
- the result of encryption
-
decrypt
Decrypt an encrypted message- Parameters:
encryptedMessage
- the encrypted message to be decrypted- Returns:
- the result of decryption
-