This is an automated email from the ASF dual-hosted git repository. olli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-crypto.git
commit 1ccd3d2de16165aa636e95d1223624652cd3d781 Author: Oliver Lietz <[email protected]> AuthorDate: Tue Jul 13 21:40:36 2021 +0200 [checkstyle] (javadoc) SummaryJavadoc --- src/main/java/org/apache/sling/commons/crypto/CryptoService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/apache/sling/commons/crypto/CryptoService.java b/src/main/java/org/apache/sling/commons/crypto/CryptoService.java index e16ebe7..fb300de 100644 --- a/src/main/java/org/apache/sling/commons/crypto/CryptoService.java +++ b/src/main/java/org/apache/sling/commons/crypto/CryptoService.java @@ -28,12 +28,16 @@ import org.osgi.annotation.versioning.ProviderType; public interface CryptoService { /** + * Encrypts the given message. + * * @param message The message to encrypt * @return The encrypted message, the ciphertext */ @NotNull String encrypt(@NotNull final String message); /** + * Decrypts the given ciphertext. + * * @param ciphertext The encrypted message, the ciphertext to decrypt * @return The decrypted message */
