NAME

humelib::ep_hash - map a string to an integer

SYNOPSIS

package require Humelib
humelib::ep_hash string

DESCRIPTION

This command is used to map a character string to a 5 digit or less integer. The hash code result can be used as a starting value for a database key. Typically, a query will be made to make sure that the value is unique.

The command is part of the Humelib package and can be imported from the namespace humelib.

EXAMPLE

package require Humelib
namespace import -force humelib::*
set code [ep_hash $my_string]

AUTHOR

Hume Integration Software, www.hume.com

SEE ALSO

string

KEYWORDS

hash