[Dev-luatex] md5.sum

Aditya Mahajan adityam at umich.edu
Tue Jan 19 00:45:56 CET 2010

On Mon, Jan 18, 2010 at 6:35 PM, Reinhard Kotucha
<reinhard.kotucha at web.de>wrote:
> If I can evaluate, for instance, luatex.datestamp, I can enable MD5
> checks in my script on sytems where it works.  That would be nice.

How about

if (md5.sumhexa("abcdefghijklmnopqrstuvwxyz") ==
"c3fcd3d76192e4007dfb496cca67e13b") then
  -- md5 works... do what you want
   -- fallback for md5 not working

This way, you also protect yourself from bugs in the future versions of
luatex :-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/mailman/private/dev-luatex/attachments/20100118/ec35cc5a/attachment.html>

More information about the dev-luatex mailing list