I use some code from an old FPA article for my own stuff (but can't remember which article it was - maybe a search on encryption on the FPA site will turn up something), but generally I use Visual MaxFrame which has an encryption routine in it.
>Frank,
>
>Thanks for the info. What do you use to encrypt information?
>
>Thanks,
>
>Jerry
>
>
>>Hi Jerry,
>>
>>I believe that the _crypt.vcx uses the CryptoAPI which produces different results depending on the OS it is run on. It is a real PITA and why I don't use it for encrypting stuff.
>>
>>>I am using the _crypt.vcx class for password encryption and I store the password to a field in a table.
>>>
>>>This works great, however, I do notice that once a password has been encrypted on the production PC, it cannot be decrypted on any other PC. Normally this would be fine, but is there a way to be able to encrypt and decrypt a password from either the production or development PC?
>>>
>>>The production PC is a W2K advance server and the development PC is an XP Pro.
>>>
>>>Is there a setting to adjust to make the encryption algorithm the same?
>>>
>>>Thanks,
>>>
>>>Jerry