Raj kumar

Raj kumar

  • NA
  • 6
  • 417

Intermittent issue with Bcrypt package

Jan 21 2021 12:52 PM
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$<<Random Values for password>>
 
2. Stores password as it is = $2a$12Password@123<<Random Values>>
 
Anyone help me with this and thanks in advance.
  

Answers (2)