Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encryption, Again...
Message
From
15/04/2003 08:36:37
 
 
To
15/04/2003 07:52:23
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00777634
Message ID:
00777655
Views:
15
>I've read a few threads about this, but it never became very clear to me.
>
>I'm searching for a way to safely encrypt and decrypt strings. I know of the _CryptApi.vcx, but I understand that there might be problems with OS specific settings on how the strings are encrypted and decryted.
>
>1. The encryption must work exactly the same on all OSs from W98 and up.
>2. The encryption must be provided either with pure VFP code or general Windows API. Because of security issues, we don't want to use custom dlls.
>
>Can anyone shed a light on this. With an example maybe ??
>
>Walter,

Walter,

>1. The encryption must work exactly the same on all OSs from W98 and up.

The only thing I seem to remember is that you have to force the MS_DEF_PROV ("Microsoft Base Cryptographic Provider v1.0") rather than MS_ENHANCED_PROV ("Microsoft Enhanced Cryptographic Provider ") when you use the api CryptAcquireContext(). Someone else can confirm this ?

>2. The encryption must be provided either with pure VFP code or general Windows API. Because of security issues, we don't want to use custom dlls.

I can provide you with a working RC4 in pure vfp code should you be after that.
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform