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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
decrypt(@NotNull String ciphertext)
Decrypts the given ciphertext.@NotNull String
encrypt(@NotNull String message)
Encrypts the given message.
-