$str.digest Returns the sum of the character codes of the string |
Usage |
<string> $str.digest(<data:string>[,<algorithm:string>]) |
Description |
Calculates digest for given string using algorithm passed as 2nd argument. Currently supported: md5, md4, md2, sha1, mdc2, ripemd160, dss1 Default is md5. Requires OpenSSL support, but offers a minimal set of hashes in any case. |