14.08.2016, 22:43
I'm trying to create a a program that will login using Username and Password from my SQL Database.
The accounts are created using the website, however I want to login using my 3rd party app.
This is the Code I have, using BCrypt.Net
http://pastebin.com/YDppTgst
If I use the actual password(Testing is 021495) It states invalid password, although the console reads it's a match.
But if I type in the hashed password that you see in MySQL, EX: $2$1049583SH5SKDIE etc. It logs in perfectly fine.
I'm apparently missing a key step.
The accounts are created using the website, however I want to login using my 3rd party app.
This is the Code I have, using BCrypt.Net
http://pastebin.com/YDppTgst
If I use the actual password(Testing is 021495) It states invalid password, although the console reads it's a match.
But if I type in the hashed password that you see in MySQL, EX: $2$1049583SH5SKDIE etc. It logs in perfectly fine.
I'm apparently missing a key step.