HashPasswordForStoringInConfigFile vs MD5.ComputeHash

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
 
J

Jaymz

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top