You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't get authentication tags to validate when using chacha20-poly1305. Decryption works just fine but when I purposefully mangle the authentication tag or the additional authenticated data (aad), it decrypts just fine.
Is there a specific order to run setAAD, update, and setAuthTag or some way to detect this failure mode?
This could be a bug or just user error. Unsure at this point!
Thanks!
The text was updated successfully, but these errors were encountered:
Hi there,
I can't get authentication tags to validate when using chacha20-poly1305. Decryption works just fine but when I purposefully mangle the authentication tag or the additional authenticated data (aad), it decrypts just fine.
Is there a specific order to run setAAD, update, and setAuthTag or some way to detect this failure mode?
This could be a bug or just user error. Unsure at this point!
Thanks!
The text was updated successfully, but these errors were encountered: