Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checksum

Status
Not open for further replies.

biderman

IS-IT--Management
Oct 23, 2002
2
US
I noticed that ramani in faq184-1262 uses checksums to store his password. What is the formula Foxpro uses to create a checksum ( SYS(2007)) ? If it is a set formula it would seem to me that this is a poor choice being that anyone could decode the passwords.
 
Yes, the FoxPro checksum is a well defined algorithm (available many places on the net, or if required, I'll try and dig it up in FP code), however it's not reversible - so it works for a simple password scheme. However since it can only return a value from 0 -> 65535, multiple "passwords" can map to a single value.

Rick
 
rgbean,
Thanks for the answer. I don't need the formula I just wanted to know exactly the information you wrote. I guess it is a good very simple to program, and very basic password system.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top