Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variation on Encrypt /Dencrypt function..
Message
From
14/10/2003 13:58:27
 
 
To
14/10/2003 13:28:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00838304
Message ID:
00838639
Views:
14
>How do I get the string back?
>Fx..
>?x.decryptstream(x.EncryptStream("1234567", "123452"),"123452")
>
>Gives my original string but..
>x.decryptstream(Strconv(x.EncryptStream("1234567", "123452"),13),"123452")
>
>Just gives garbage?


Try:
x.decryptstream(Strconv(Strconv(x.EncryptStream("1234567", "123452"),13),14),"123452")
See the help (or intellisense) for Strconv() where 13 does Base64 and 14 reverses it.


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
Reply
Map
View

Click here to load this message in the networking platform