Hi No,
To unencrypt a value encrypted by the bit shift, simply run it through the same function again. It will return the unencrypted value.
>Dear Ken,
> I have follow that Bit 's step. It is very great to convert character.
>I have questions to ask you. After I convert my password to Bit ' code and saved it to password table. How we reconvert to normal character if the user want to see his password.
> Thanks again for your time.
> No.
>
>>Hi No,
>>
>>I use this simple bit shifting routine from MS for simple encryption of fields in my user/password table:
>>
Bit Manipulation in FoxPro for Data Encryption>>
>>It's not heavy-duty, but enough to deter casual VFP users.
>>
kenweber
GCom2 Solutions
Microsoft Certified Professional