-
Notifications
You must be signed in to change notification settings - Fork 232
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
SecretBox vs Aead #829
Comments
Because that was the recipe expose as secret in djb's original nacl library
(https://nacl.cr.yp.to/secretbox.html). The availability of other
algorithms is a more recent addition by libsodium (
https://libsodium.gitbook.io/doc/secret-key_cryptography/aead)
…On Thu, Jul 4, 2024 at 1:24 PM Gonzalo Atienza ***@***.***> wrote:
I was wondering why XChaCha20-Poly was not being exposed as the default
cipher and authentication for the main high level wrapper. Found out that
the low-level APIs were already there after going through the code, issues
history and changelogs. Later found the wrapper class right there along
SecretBox (🤦).
Any reason why the public documentation (
https://pynacl.readthedocs.io/en/latest/secret/) references only
SecretBox and not Aead?
Thanks!
PS -> Love the lib, thanks for all the work here.
—
Reply to this email directly, view it on GitHub
<#829>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAGBCB5OH46WK3MOUVKBDZKWAL5AVCNFSM6AAAAABKL43DACVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TCMRVGEZTOMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
All that is necessary for evil to succeed is for good people to do nothing.
|
Thanks for the quick reply, Alex. If you were to document it today would you default it to Aead? Or simply add Aead as an option to SecretBox? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was wondering why XChaCha20-Poly was not being exposed as the default cipher and authentication for the main high level wrapper. Found out that the low-level APIs were already there after going through the code, issues history and changelogs. Later found the wrapper class right there along SecretBox (🤦).
Any reason why the public documentation (https://pynacl.readthedocs.io/en/latest/secret/) references only SecretBox and not Aead?
Thanks!
PS -> Love the lib, thanks for all the work here.
The text was updated successfully, but these errors were encountered: