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 or handle for the string value. Typically, a query will be made to make sure that the value is unique.
The command is part of the dmh package and can be imported from the namespace dmh.
package require dmh dmh_import set code [hash5 $my_string]