nopsai
Member
I need to compare the client password in a C# server.
So, my try is:
But the result it not the same in the xenforo database...
Anyone can help?
So, my try is:
Code:
string salt = "HereIsTheSalt", password = "HereIsThePass";
SHA256Managed hashstring = new SHA256Managed();
byte[] bytes = Encoding.UTF8.GetBytes(password + salt);
byte[] hash = hashstring.ComputeHash(bytes);
string hashPassword = BitConverter.ToString(hash).Replace("-", "")
But the result it not the same in the xenforo database...
Anyone can help?