Class JasyptStandardPbeStringCryptoService
java.lang.Object
org.apache.sling.commons.crypto.jasypt.internal.JasyptStandardPbeStringCryptoService
- All Implemented Interfaces:
CryptoService
Service for encrypting messages and decrypting ciphertexts using Jasypt's
StandardPBEStringEncryptor.- See Also:
-
StandardPBEStringEncryptor
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JasyptStandardPbeStringCryptoService
public JasyptStandardPbeStringCryptoService()
-
-
Method Details
-
encrypt
Description copied from interface:CryptoServiceEncrypts the given message.- Specified by:
encryptin interfaceCryptoService- Parameters:
message- The message to encrypt- Returns:
- The encrypted message, the ciphertext
-
decrypt
Description copied from interface:CryptoServiceDecrypts the given ciphertext.- Specified by:
decryptin interfaceCryptoService- Parameters:
ciphertext- The encrypted message, the ciphertext to decrypt- Returns:
- The decrypted message
-