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

Error if symmetric key length is incorrect #161

Merged
merged 2 commits into from
Jul 26, 2022

Conversation

aidantwoods
Copy link
Contributor

It is not strictly an encoding check, but in most cases passing in the wrong encoding will result in the wrong length. Probably it would be helpful to catch this type of error early.

Fixes #160

@paragonie-security paragonie-security merged commit 651a265 into paragonie:master Jul 26, 2022
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 this pull request may close these issues.

Invalid MAC for given ciphertext
2 participants