[pdftex] [bug] \pdfmdfivesum returning wrong value

Taco Hoekwater taco at elvenkind.com
Sun Jun 10 21:32:15 CEST 2007


Stephan Hennig wrote:
> Hi,
> 
> the value returned by
> 
> \pdfmdfivesum{plain.tex}
> \bye
> 
> is
> 
> 75A63AD4F2BDE3BCCE62E19E4A77AB15

This is the md5 sum of the 9-byte string "plain.tex".

> which is significantly different from
> 
>> $ gpg --print-md md5 `kpsewhich plain.tex`
>> texmf/tex/plain/base/plain.tex: 41 C2 6C 4F 5E FA 32 DF  39 78 59 08 0C 65 7E D9

And this is the md5 sum of the 44639 byte string contained inside
the file plain.tex.

So they calculate two very different things.

Best wishes, Taco


More information about the pdftex mailing list