Class JasyptStandardPBEStringCryptoService
- java.lang.Object
-
- org.apache.sling.commons.crypto.jasypt.internal.JasyptStandardPBEStringCryptoService
-
- All Implemented Interfaces:
CryptoService
public class JasyptStandardPBEStringCryptoService extends java.lang.Object implements CryptoService
-
-
Constructor Summary
Constructors Constructor Description JasyptStandardPBEStringCryptoService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.Stringdecrypt(@NotNull java.lang.String ciphertext)@NotNull java.lang.Stringencrypt(@NotNull java.lang.String message)
-
-
-
Method Detail
-
encrypt
@NotNull public @NotNull java.lang.String encrypt(@NotNull @NotNull java.lang.String message)- Specified by:
encryptin interfaceCryptoService- Parameters:
message- The message to encrypt- Returns:
- The encrypted message, the ciphertext
-
decrypt
@NotNull public @NotNull java.lang.String decrypt(@NotNull @NotNull java.lang.String ciphertext)- Specified by:
decryptin interfaceCryptoService- Parameters:
ciphertext- The encrypted message, the ciphertext to decrypt- Returns:
- The decrypted message
-
-