HashPasswordForStoringInConfigFile vs MD5.ComputeHash

  • Thread starter Thread starter Empi
  • Start date Start date
E

Empi

Hi.

I'm developing an applincation that should encrypt passwords for web usage.
The encryptor is form based, and the web authentication is web based...

I've found md5.computehash for the form usage, and
HashPasswordForStoringInConfigFile
for the web usage.

The problem is, akthough I use md5 on both functions, the encrypted string
is not the same...

How come?

Thanks.

Empi
 
Empi said:
Hi.

I'm developing an applincation that should encrypt passwords for web usage.
The encryptor is form based, and the web authentication is web based...

I've found md5.computehash for the form usage, and
HashPasswordForStoringInConfigFile
for the web usage.

The problem is, akthough I use md5 on both functions, the encrypted string
is not the same...

How come?

Thanks.

Empi

I've never used HashPasswordForStoringInConfigFile, so this is just a
guess. Also, not being able to see how you're using the function makes
it a big guess:

Salt.

http://en.wikipedia.org/wiki/Salt_(cryptography)


Jaymz.
 
Back
Top