P is for Practical | |
PerlMonks |
Re: Digest::SHA gives different values for unix/windowsby syphilis (Archbishop) |
on Jun 12, 2013 at 02:59 UTC ( [id://1038377]=note: print w/replies, xml ) | Need Help?? |
$sha1->addfile($data, "p"); I'm not sure that you'd want to use "p" with binary files. (I haven't checked, but I'm thinking it might be applicable only for text files.) Try specifying "b" - and if that fixes things then you've found the problem. Otherwise, it's probably as Jim said. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|