Package org.apache.sling.commons.crypto
Interface CryptoService
- All Known Implementing Classes:
JasyptStandardPbeStringCryptoService
@ProviderType
public interface CryptoService
Service for encrypting messages and decrypting ciphertexts.
-
Method Summary
-
Method Details
-
encrypt
Encrypts the given message.- Parameters:
message- The message to encrypt- Returns:
- The encrypted message, the ciphertext
-
decrypt
Decrypts the given ciphertext.- Parameters:
ciphertext- The encrypted message, the ciphertext to decrypt- Returns:
- The decrypted message
-