Get the md5hash of a string.
Get the md5hash of a string.
Name | Type | Default | Description |
Return | char* | 32 hex digits long md5hash of the string.
The return value is read only, do NOT CHANGE. The result will be overridden on following calls to the function. See here to learn more about functions returning r/o char* values. |
|
txt | char* | - | any char*-string |
doUpper | int | 0 | Use capital letters for hex numbers? 0 : no 1 : yes |
Get the md5hash of the current script text model.
int main () { String str = string::alloc ();
textmodel::gettext (str); wlog ("", "MD5Hash of current text : '%s'\n", strmd5hash (string::get (str)));
return 0; }
Alphabetic index HTML hierarchy of classes or Java