Re: Wrong SHA1 is calculated
[email protected] Tue, 16 May 2017 13:53:38 +1000
| Newsgroups | perl.win32.vanilla |
|---|---|
| Message-ID | <06FCA928CAB94046AE54F79E1265255E@OwnerPC311012> |
-----Original Message----- From: Christian Millour Sent: Tuesday, May 16, 2017 9:14 AM To: [email protected] Subject: Re: Wrong SHA1 is calculated > Le 15/05/2017 à 16:30, [email protected] a écrit : >> Unfortunately, I don't know how to get that binmode() into the >> one-liner's angle brackets :-( > $ PERLIO=unix perl -MDigest::SHA1=sha1_hex -le "print sha1_hex <>" > secure.txt > 19576d392b021ac25efdca6f1886b5ce5b1090c4 > $ Yes, I think that should give the OP the result he was seeking. Nice. Cheers, Rob