From 0855ce2f5503ec3b3fb8f906b7f9e75e9f0f0b55 Mon Sep 17 00:00:00 2001 From: Jesper Louis Andersen Date: Tue, 15 Jun 2021 13:03:30 +0200 Subject: [PATCH] Small documentation fixups --- src/enacl.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/enacl.erl b/src/enacl.erl index c839585..5120f7c 100644 --- a/src/enacl.erl +++ b/src/enacl.erl @@ -1222,7 +1222,7 @@ kx_SECRETKEYBYTES() -> %% ---------------------- %% @doc aead_chacha20poly1305_encrypt/4 encrypts `Message' with additional data %% `AD' using `Key' and `Nonce'. Returns the encrypted message followed by -%% `aead_chacha20poly1305_ABYTES/0' bytes of MAC. +%% aead_chacha20poly1305_ABYTES/0 bytes of MAC. %% @end -spec aead_chacha20poly1305_ietf_encrypt(Msg, AD, Nonce, Key) -> binary() when Key :: binary(), @@ -1234,7 +1234,7 @@ aead_chacha20poly1305_ietf_encrypt(Msg, AD, Nonce, Key) -> %% @doc aead_chacha20poly1305_decrypt/4 decrypts ciphertext `CT' with additional %% data `AD' using `Key' and `Nonce'. Note: `CipherText' should contain -%% `aead_chacha20poly1305_ABYTES/0' bytes that is the MAC. Returns the decrypted +%% aead_chacha20poly1305_ABYTES/0 bytes that is the MAC. Returns the decrypted %% message. %% @end -spec aead_chacha20poly1305_ietf_decrypt(CT, AD, Nonce, Key) -> binary() | {error, term()}