Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encrypt/Decrypt String with Alpha-Numeric only result
Message
From
14/04/2004 13:32:44
 
 
To
14/04/2004 13:20:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00894856
Message ID:
00894860
Views:
16
>Looking for a way to encrypt/decrypt a string and output the encrypted string with only Alpha and numeric characters something easy for the user to type in.
>I've looked at _crypto but it won't do what I want. Any Ideas ?? Can it be written in native VFP code? And I'd prefer that if you encrypt "mycatisweird" that a resulted encrypted value would be something like "XC56kjrax78cfl52nvhserer" or longer.


Curt:

You can use _crypt.vcx and then apply Strconv(lcEncryptedString,13) to the result. That will get you readable (typeable) characters.

For examples of the use of strong encryption with _crypt.vcx see the provided samples in the Component Gallery or see my article in CoDe Magazine at http://feldstein.net/CodeCryptoArticle.htm or my article on the March 2004 issue of FoxTalk.

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform