Skip to content

fix incorrect padding with multibyte strings encryption #1962

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

Merged
merged 1 commit into from
May 14, 2013
Merged

fix incorrect padding with multibyte strings encryption #1962

merged 1 commit into from
May 14, 2013

Conversation

fpirsch
Copy link
Contributor

@fpirsch fpirsch commented May 5, 2013

As far as encrypting and paddings are concerned, we are talking about bytes and not characters. So basic strlen/substr functions must be used instead of their mbstring version.

As far as encrypting and paddings are concerned, we are talking about **bytes** and not **characters**. So basic strlen/substr functions must be used instead of their mbstring version.
taylorotwell added a commit that referenced this pull request May 14, 2013
fix incorrect padding with multibyte strings encryption
@taylorotwell taylorotwell merged commit c878a18 into laravel:master May 14, 2013
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