Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_crypt class with XP and Win 98
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00942734
Message ID:
00943264
Views:
15
Thanks for the help, but it still does not work on either Win 98 or Win 2K.
I have made sure that all systems are using the "rsaenh.dll"

I'm trying to encrypt/decrypt field data, not files as described in the other posts.

SET CLASSLIB TO _crypt.vcx additive
loSecurity=CREATEOBJECT("_cryptapi")
loSecurity.cProviderName = "Microsoft Base Cryptographic Provider v1.0"
lcRetVal=loSecurity.DecryptSessionStreamString(lcFieldData, lcKey, @lcDecryptedStream)

Any more thoughts ???

Thanks.


>>Has anyone got this to work for encrypting and decrypting with Windows XP Pro and Windows 98 ???
>>
>>Works great when using all XP workstations, but will not decrypt on Win 98 workstation. The Win 98 has 128 bit encryption turned on.

>
>Like Stefan said, make sure you force the same crypto provider.
>Look for "Microsoft Base Cryptographic Provider v1.0" in WinCrypt.h
>and look at the registry entries and make sure both are using the 128-bit provider "rsaenh.dll"
>
>See:
>Re: Encryption and E-mail Thread #766405 Message #766615
>Re: _cryptapi.vcx Thread #714449 Message #754980
Jamie Di Natale
S.D.X. Int'l Consulting
Computer Consulting, Networking and Custom Programming
jamie@s-d-x.com
http://www.s-d-x.com
Previous
Reply
Map
View

Click here to load this message in the networking platform