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

SecretBox vs Aead #829

Closed
gonatienza opened this issue Jul 4, 2024 · 2 comments
Closed

SecretBox vs Aead #829

gonatienza opened this issue Jul 4, 2024 · 2 comments

Comments

@gonatienza
Copy link
Contributor

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.

@alex
Copy link
Member

alex commented Jul 4, 2024 via email

@gonatienza
Copy link
Contributor Author

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?
I would be happy to contribute with either replacing SecretBox from the docs or adding Aead as an option under or above SecretBox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants