Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variation on Encrypt /Dencrypt function..
Message
De
14/10/2003 13:58:27
 
 
À
14/10/2003 13:28:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00838304
Message ID:
00838639
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform