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

[8.x] Use lowercase for hmac hash algorithm #38787

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

Krisell
Copy link
Contributor

@Krisell Krisell commented Sep 13, 2021

This simply aligns the casing of the hashing algorithm name, since all other references to hashing functions use lowercase.

The php documentation doesn't specifically say which casing to use, but it refers to hash_hmac_algos which returns lowercase only. The current PHP source does perform a tolower of the provided string.

@taylorotwell taylorotwell merged commit 510651a into laravel:8.x Sep 13, 2021
@GrahamCampbell GrahamCampbell changed the title [8.x] Style: Use lowercase for hmac hash algorithm [8.x] Use lowercase for hmac hash algorithm Sep 13, 2021
victorvilella pushed a commit to cdsistemas/framework that referenced this pull request Oct 12, 2021
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.

3 participants