Dadyar Salar

Dadyar Salar

  • NA
  • 64
  • 9k

Invalid salt Parameter name: salt in BCrypt on c#

Jan 3 2020 5:45 AM

I have a problem when i login into my application in c# using MySQL database, when my username and password is correct there is no problem and when just username is correct and password is wrong there is no problem but when my username is incorrect it give me this error on my BCrypt method for verify the password it say System.ArgumentException: 'Invalid salt Parameter name: salt', like this image:

 

and this is my class for BCrypt:

 

Answers (2)