>>>>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=0000000627Thank you!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham