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

Added bug collisions to bcrypt #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Sc00bz
Copy link

@Sc00bz Sc00bz commented Jul 16, 2019

Signed char bug: $2y$ is using the correct code. The $2x$ (the old $2a$) extended the sign bit of a character on top of at most the 3 characters before it (4 byte boundary).

Null char bug: nothing after the first null character is used. This breaks when using prehashed bcrypt with raw output.

Signed char bug: $2y$ is using the correct code. The $2x$ (the old $2a$) extended the sign bit of a character on top of at most the 3 characters before it (4 byte boundary).

Null char bug: nothing after the first null character is used. This breaks when using prehashed bcrypt with raw output.
@lodee77
Copy link

lodee77 commented Feb 15, 2021

  1. @ok

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