Thanks for the reply Alex. The VFP COM object provides a function which returns an encrypted string (using Craig's FLL) back to a VB.Net (2.0) program. To accomplish this feat the VFP app must declare a return data type to be compatible with .Net.
Thanks
Glenn
>
>I will need to send an AES encrypted string both to and from a VFP com server. Does anyone have any suggestions regarding the Function Data type in VFP? And can anyone provide a simple code example?>
>Glenn
>
>What you mean by VFP Data Type? Where to store it? It could be a BLOB or if you use simple BASE64 encoding, it is plain text so a memo field would do.
>
>Craig S. Boyd wrote a VFP encryption library that does AES:
>
http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,db662a8f-d47c-46c8-b0d2-a591c20d024b.aspx>
>Once you have gibbledygook (sp?), you can convert to BASE64 encoding with STRCONV() which gives you plain text, safe for sending out through XML for example.
>
>HTH