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; }

Since
Parameter doUpper since v4.0.4 R7230, 8. Jan 2015 Version 3.2.2 R2366, 2803.2011

Available
priint:comet InDesign® Plug-Ins, comet_pdf, Illustrator

Alphabetic index HTML hierarchy of classes or Java