-
Notifications
You must be signed in to change notification settings - Fork 4
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
XChaCha20 - nonce size restrictions #92
Comments
upd: encryption doesn't work too, unfortunately. |
@antailyaqwer I referenced Tink's implementation of |
If anyones wondering: I found java-only realization with custom nonce size. Converted with android studio utility and copied required files (5 files copied) - works fine. |
@antailyaqwer Reference here, bcgit/bc-java#957 |
Hi there!
Thanks for your great library.
I have a question: why nonce size in XChaCha20 is strictly 32 in bytes, or NONCE_SIZE == 24.
In my case i need NONCE_SIZE to be eqal to 12.
Encryption with 12 value works fine, but decryption in method hChaCha20 fails with crash.
The text was updated successfully, but these errors were encountered: