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
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
decrypt(String encryptedMessage)
Decrypt an encrypted messageString
encrypt(String message)
Encrypt the input message
-
-
-
Method Detail
-
encrypt
String encrypt(String message)
Encrypt the input message- Parameters:
message
- the message to be encrypted- Returns:
- the result of encryption
-
decrypt
String decrypt(String encryptedMessage)
Decrypt an encrypted message- Parameters:
encryptedMessage
- the encrypted message to be decrypted- Returns:
- the result of decryption
-
-