>I'm trying to create a Hash Value from a string using _crypt.vcx but I don't understand how I'm suppose to do it.
>
>I figured out how to encrypt a string value but that's not what we're looking for... We just want the create a hash value from the string.
>
>TIA
Don't know about the _crypt.vcx but if you have CAPICOM
http://www.microsoft.com/downloads/details.aspx?FamilyID=860ee43a-a843-462f-abb5-ff88ea5896f6&DisplayLang=enYou can get this by
oCrypt = NEWOBJECT('CAPICOM.HashedData')
oCrypt.Algorithm = 3
oCrypt.Hash('This is a Test')
? oCrypt.Value
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers