Wiki Home

What Is AHash Algorithm

Namespace: VFP
See also Hash Algorithms
A hash algorithm converts a string of arbitrary length into a single number that's most likely different for different input strings.
Hash algorithms are very useful in security matters.

For example, take a look at the following code:
select passwords
if lnCode=passwords.code
    ***password is ok
    *** invalid password

In this way you don t have to store the password in a table.
Contributors Eduardo Díaz Guerrero
Category Tips And Tricks
( Topic last updated: 2004.08.30 10:56:39 AM )