Yes.
>Al,
>
>Yes, I am using the .Net crypto functions. So if I create a MD5 hash of a password on my DEV pc and store it into a SQL table's field, the same hash value will be created on PROD1 and PROD2 pc's.
>
>Thanks for the info.
>
>Jerry
>
>
>>>If I hash a password on PC1 and store it to a table and then hash the same password on PC2, should the hash values be equal?
>>
>>In general, yes - assuming you're using the same hash function from the same crypto provider.
>>
>>A while back someone reported getting different results with hashes and/or encryption between the native Windows crypto providers for Windows 98 vs. Windows 2000/XP etc.
>>
>>If you're using .Net crypto functions this should not be an issue. Even if one machine has 1.1 and another 2.0, I imagine MS goes to great lengths to keep crypto functions the same.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up