How can I use perl to get a SHA1 hash of a file from the Windows command line?

Posted by Jim on Stack Overflow See other posts from Stack Overflow or by Jim
Published on 2010-05-11T15:48:49Z Indexed on 2010/05/11 15:54 UTC
Read the original article Hit count: 247

Filed under:
|
|

I have a file called "secure.txt" in c:\temp. I want to run a perl command from the command line to print the SHA1 hash of secure.txt. I'm using ActivePerl 5.8.2. I have not used perl before, but it's the most convenient option available right now.

© Stack Overflow or respective owner

Related posts about perl

Related posts about sha1