Friday, January 6, 2012

command to generate sha1 digest of file

openssl dgst -sha1 somefile.zip
awk only the digest:
openssl dgst -sha1 node-v0.8.11-linux-x64.tar.gz | awk -F'= ' '{print $2}'

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.