Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strconv() question
Message
From
02/11/2006 13:57:08
 
 
To
02/11/2006 12:18:44
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01166631
Message ID:
01166697
Views:
17
>I am using vfpencryption.fll in encrypt a user's password and then I am using strconv(password,15) to convert the results so it will store in a database easier. I have run into an issue trying to test if the password is encrypted so I don't try and encrypt it twice. Is there a way to test if a string has been converted?

The suggestions you already got look good to me. One question though:

Why STRCONV(15) (HexBinary) instead of STRCONV(13) (BASE64) which tends to produce shorter strings and also is pure text, and goes well in XML strings?

Just .02


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