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

Remove low-level API? #14

Closed
dchest opened this issue Jun 23, 2014 · 2 comments
Closed

Remove low-level API? #14

dchest opened this issue Jun 23, 2014 · 2 comments
Labels

Comments

@dchest
Copy link
Owner

dchest commented Jun 23, 2014

Do we even need nacl.lowlevel? Everything is already provided in the high-level API, which is easier and safer to use.

@dchest
Copy link
Owner Author

dchest commented Jun 23, 2014

Aha, we don't have high-level crypto_scalarmult and crypto_scalarmult_base. If we're going to remove low-level API, we should provide them in high-level API:

nacl.scalarMult(x, y) // => z
nacl.scalarMult.base(x) // => z

@dchest
Copy link
Owner Author

dchest commented Jun 24, 2014

We still need to have nacl.lowlevel for testing.

@dchest dchest closed this as completed in 63e1724 Jun 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant