Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP implementation of the Cipher encryption
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01192734
Message ID:
01192799
Vues:
17
This message has been marked as the solution to the initial question of the thread.
The correct way to call it
? _decrypt(_encrypt(cKeyStr, cPassword), cPassword)
>I have used following code part to test chipher function. Where is the mistake I have made.
>
>
>cPassword = "12345678"
>cKeyStr   = "AAAAAAAA"
>
>? decrypt(cStr, encrypt(cStr, cPassword)) && return correct string : 12345678
>
>cPassword = "123456789012345678"
>cKeyStr   = "AAAAAAAAAAAAAAAAAA"
>
>? decrypt(cStr, encrypt(cStr, cPassword))  && return wrong string : .32K676;>105054589
>
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform