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

Move HMAC implementation to the php hash_hmac function and change verify comparison to hash_equals #5

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

kjansenpay
Copy link
Collaborator

hash_hmac comes with security improvements over a plain hash method call and hash_equals prevents (for as much as possible) time based attacks on literal comparisons

…ify comparison to hash_equals

hash_hmac comes with security improvements over a plain hash method call and hash_equals prevents (for as much as possible) time based attacks on literal comparisons
@paynl-wesley paynl-wesley merged commit 2e1d10b into main Jan 31, 2024
3 checks passed
@paynl-wesley paynl-wesley deleted the feature/use-hmac-algorithm branch January 31, 2024 12:36
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