You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Valid password and hash verification fails.
Also the hash generated by bcrypt.generate_from_password("123456".bytes(), 1)!
does not pass validation on online services
Reproduction Steps
module main
import bcrypt
fn main(){
p := "123456"
h := "$2y$13$7j2kgHgrEiI9kYmiXZuiyu3IJFWXEH.sZN6ai82XNCd9SZ7UwdlTW"
bcrypt.compare_hash_and_password(p.bytes(), h.bytes()) or { panic(err) }
println("VALID")
}
Expected Behavior
println("VALID")
Current Behavior
V panic: mismatched hash and password
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.2 e0e0987
Environment details (OS name and version, etc.)
Fedora 38
The text was updated successfully, but these errors were encountered:
Describe the bug
Valid password and hash verification fails.
Also the hash generated by
bcrypt.generate_from_password("123456".bytes(), 1)!
does not pass validation on online services
Reproduction Steps
Expected Behavior
println("VALID")
Current Behavior
V panic: mismatched hash and password
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.2 e0e0987
Environment details (OS name and version, etc.)
Fedora 38
The text was updated successfully, but these errors were encountered: