dmerphq++

Thank you so much, that was just what was needed ...

# 'doze perl -e "use Digest::MD5('md5_base64');local $/;open $f,'perl.exe'; bi +nmode $f; $dat=<$f>;print md5_base64($dat)" +QpV/tbZNRzK5aIPqc18tQ # *nix perl -le'use Digest::MD5 ("md5_base64"); local $/;open $f, "perl.exe"; + binmode $f; $dat=<$f>;print md5_base64($dat);' perl.exe +QpV/tbZNRzK5aIPqc18tQ # and the reason I was being lazy and using md5_base64(<FH>) perl -le'use Digest::MD5 ("md5_base64"); @array=qw(a b c); print md5_b +ase64(@array);' kAFQmDzST7DWlj99KOF/cg perl -le'use Digest::MD5 ("md5_base64"); @array=qw(a b c); $array=join + "",@array; print md5_base64($array);' kAFQmDzST7DWlj99KOF/cg # thought that worked, but then did this... perl -le'use Digest::MD5 ("md5_base64"); local $/;open $f, "perl.exe"; + $data=<$f>;print md5_base64($data);' perl.exe +QpV/tbZNRzK5aIPqc18tQ perl -le'use Digest::MD5 ("md5_base64"); local $/;open $f, "perl.exe"; + binmode $f; print md5_base64($f);' perl.exe MzTg3hOPoYjcGlfa8CHjeg

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!

In reply to Re^2: md5 sum different on windows and unix for win.exe files !!? by Random_Walk
in thread md5 sum different on windows and unix for win.exe files !!? by Random_Walk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.