Intermittent issue with Bcrypt package

Using BCrypt package for encrypting and Verifying password. All works fine, But in some cases the encription in Not wrorking properly. Explained below in Detailed way.

Password = Password@123

When i try to hash and store date in Databse, It is storing it with 2 ways as mentioned below.

1 . Stores as expected = $2a$12$<>

  1. Stores password as it is = $2a$12Password@123<>

Anyone help me with this and thanks in advance.

We probably need to see the code snippet you’re running that’s causing it.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.