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

WIP: Crypto box #34

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

WIP: Crypto box #34

wants to merge 6 commits into from

Conversation

silkeh
Copy link
Contributor

@silkeh silkeh commented Oct 23, 2017

This PR adds a new wrapping of crypto_box (for libsodium 1.0.15)
The crypto_box functions are split into:

  • crypto/box
  • crypto/box/curve25519xchacha20poly1305
  • crypto/box/curve25519xsalsa20poly1305

All code includes tests with 100% coverage and is linted with golint.

- Change return types and add constants and types
- Change naming to match golang conventions
- Add tests for all box functions
@silkeh silkeh changed the title Crypto box WIP: Crypto box Oct 23, 2017
Note that this is not checked because the maximum message size is higher
than the maximum value of an int and the maximum length of a slice.
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.

None yet

1 participant