Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP implementation of the Cipher encryption
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01192734
Message ID:
01192839
Views:
12
You're welcome.

>Thanks. I'm happier now.
>
>
>>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform