How to decompile the way a hash was created? sha512managed

91 Views Asked by At

i have a database table with a 88digits hash and a 16digits salt. i know the clear password because its my own testuser.

this user, password, hash and salt was created within a website / commercial tool.

I am trying to build my own .net website and would like to use the same user/password database table.

I tried different ways in .net and i found out that based on the length of the hash(88) is has to be a sha512 hashing.

i read the existing salt from the table and build a hash from password and salt. the outcome is different to the existing hash in the database table.

i believe my "sha512managed" is wrong or the commercial tool uses not only password + salt to create the hash. maybe the use Encoding.Unicode.GetBytes(string.Concat("text" + password, salt)) or something.

i there any whay to figure this out?

0

There are 0 best solutions below