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

Updated SHA256 Validation Utilities #13

Merged
merged 2 commits into from
Dec 10, 2015
Merged

Conversation

allenmichael
Copy link
Contributor

I refactored the SHA256 hash-stream.js utility to now add in a hash of the stringified request.body. I added a SHA256 constant to the headers in constants.js. And finally, I refactored is-request-valid.js to pull the date from request.headers, as well the headerPrefix and the SHA256 header constant to pull the SHA hash from the request.headers.

zetlen added a commit that referenced this pull request Dec 10, 2015
Updated SHA256 Validation Utilities
@zetlen zetlen merged commit 8b11275 into Mozu:master Dec 10, 2015
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

2 participants