Login  Register

Re: Retrieve MD5-hash in macro

Posted by Gluender-4 on Jan 29, 2011; 10:42am
URL: http://imagej.273.s1.nabble.com/Retrieve-MD5-hash-in-macro-tp3685888p3685890.html

Ingo,

depending on your OS you may try use an UNIX shellscript (e.g.
md5sum) that you properly call by the IJ-macro routine:

        exec( "sh", "-c", YourShellScriptCommand );

See IJ-macro examples "ExecExamples.txt".


>Hi,
>
>is there a way (e.g. using eval()) to retrieve the MD5-hash (or
>SHA-1) of a given string using the macro language?
>
>Regards,
>Ingo

HTH
--

                   Herbie

          ------------------------
          <http://www.gluender.de>