The hash_string method hashes the specified string using the SHA1 or MD5 algorithm.
hash_string( StringToHash, Algorithm )
| Argument | Description | 
|---|---|
| StringToHash | (string) The string to hash. | 
| Algorithm | (string) The algorithm to use. Must be either SHA1 or MD5. | 
(String). The hashed input string.
|  |