>>>Hi,
>>>
>>>VFP 9 Help shows an example of Crypto Foundation Class which is based on Windows API routine. Given that VFP 9 was released several years ago (before even Window 7 was released), would it be practical to use it now? If not, what alternative would you recommend for encrypting a string (e.g. a password in XML file)?
>>>
>>>TIA.
>>
>>You don't encrypt a password - you hash it
>>
>>Then convert the hash to base64 and store it in the Xml
>
>I will look for the sample code on how to hash it in VFP 9. I think, if I remember correctly, you even posted such code somewhere in the past. Thank you.
m5 hash with api - see here
http://www.atoutfox.org/articles.asp?ACTION=FCONSULTER&ID=0000000627
Gregory