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

Expose all of the algorithms to the streaming API. #12

Merged
merged 6 commits into from
Mar 6, 2016

Conversation

ceejbot
Copy link
Owner

@ceejbot ceejbot commented Mar 6, 2016

Switch the API around yet again to make everything fairly sensible to use. sumFile, sumBuffer, and sumStream now take optional algorithm numbers; they still default to B.

The algorithm enum is now exported.

Expose update() on the streaming hash. This makes us more like the node crypto APIs. Add a bunch of tests for update() to make sure it's working.

Improve docs.

Switch the API around yet again to make everything fairly sensible
to use. `sumFile`, `sumBuffer`, and `sumStream` now take optional
algorithm numbers; they still default to B.

The algorithm enum is now exported.
This makes us more like the node crypto APIs. Add a bunch of tests for
update() to make sure it's working.

Improve docs.
ceejbot added a commit that referenced this pull request Mar 6, 2016
Expose all of the algorithms to the streaming API.
@ceejbot ceejbot merged commit 9e33bb4 into master Mar 6, 2016
@ceejbot ceejbot deleted the ceej/all-streaming-algos branch March 6, 2016 00:32
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