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

Refactor SecureCompare. #3

Merged
merged 1 commit into from
Nov 10, 2014
Merged

Refactor SecureCompare. #3

merged 1 commit into from
Nov 10, 2014

Conversation

moorereason
Copy link
Contributor

Don't rely on martini-contrib/auth for two reasons: 1) it calculates a sha256 of the strings prior to comparing, which is redundant; 2) the logic itself is so simple that it doesn't warrant adding a non-stdlib dependency.

Don't rely on martini-contrib/auth for two reasons: 1) it calculates a sha256 of the strings prior to comparing, which is redundant; 2) the logic itself is so simple that it doesn't warrant adding a non-stdlib dependency.
@rafecolton
Copy link
Owner

LGTM

rafecolton pushed a commit that referenced this pull request Nov 10, 2014
@rafecolton rafecolton merged commit 2bc7010 into rafecolton:master Nov 10, 2014
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.

2 participants