Hi George,
I can't find it now, but I ran across a message earlier today that said base64 encoding might get the illegal characters through.
>
>I'm surmising that the problem is with the SOAP toolkit not accepting the value being returned by the GenerateKey() function because of the characters being returned. Once you have a key that will be accepted, the Encrypt() and UnEncrypt() functions work fine.
>
>In looking over the web page used, I (
finally) noted that it was using the HTTP POST protocol rather than SOAP. To me, this would explain why it always worked in .NET and only worked sometimes in VFP.
>
>Anyway, thanks to you and everyone else for the assistance.
>
>PS - Like my new picture?< s >