stringHash()
Purpose
Compute a hash for the specified string
Description
A hash function is one can be used to map data of arbitrary size to data of a fixed size. This can be used for rapid data retreival, deuplication and protection of sensitive data
Syntax
hash = stringHash( stringVar )
Arguments
stringVar string to create the hash from
hash hash for the specified string from
Example
p = input( "Enter password", false )
if stringHash( p ) == 402054200 then
print( "Correct" )
else
print( "Incorrect" )
endIf
update()
sleep( 3 )
Associated Commands
str(), strBeginsWith(), strContains(), strEndsWith(), strFind(), stringHash()