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$<>
2. Stores password as it is = $2a$12Password@123<>
Anyone help me with this and thanks in advance.
Raj kumarPosted Jan 22, 2021, 5:33 AM
Sachin SinghPosted Jan 21, 2021, 1:29 PM