Skip to content

Commit

Permalink
Merge pull request #2 from SuoDizzy/patch-1
Browse files Browse the repository at this point in the history
Function Description mismatching actual code
  • Loading branch information
migeyel authored Sep 22, 2023
2 parents 9d79439 + 11ca366 commit 52307c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccryptolib/aead.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ end
--- Decrypts a message.
--- @param key string The key used on encryption.
--- @param nonce string The nonce used on encryption.
--- @param tag string The authentication tag returned on encryption.
--- @param ciphertext string The ciphertext to be decrypted.
--- @param aad string The arbitrary associated data used on encryption.
--- @param tag string The authentication tag returned on encryption.
--- @param rounds number The number of rounds used on encryption.
--- @return string? msg The decrypted plaintext. Or nil on auth failure.
local function decrypt(key, nonce, tag, ciphertext, aad, rounds)
Expand Down

0 comments on commit 52307c7

Please sign in to comment.