Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test for cipher.len == message.len + 1 #9

Closed
moCello opened this issue Mar 15, 2024 · 0 comments · Fixed by #10
Closed

test for cipher.len == message.len + 1 #9

moCello opened this issue Mar 15, 2024 · 0 comments · Fixed by #10

Comments

@moCello
Copy link
Member

moCello commented Mar 15, 2024

Summary

In the way the sponge is constructed, it should be impossible to get a cipher-length different than message.len + 1 but to be 100% sure we include a check in the encrypt and decrypt functions before returning the cipher of message.

moCello added a commit that referenced this issue Mar 15, 2024
moCello added a commit that referenced this issue Mar 15, 2024
moCello added a commit that referenced this issue Mar 15, 2024
This was referenced Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant