Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created April 3, 2018 23:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/90bb0adfdae21f92a0fc07f4afc932b7 to your computer and use it in GitHub Desktop.
Save zoffixznet/90bb0adfdae21f92a0fc07f4afc932b7 to your computer and use it in GitHub Desktop.
C:\temp>perl6 -e "run('CertUtil.exe', '-hashfile', 'test.txt', 'SHA256', :out, :
!err).out.slurp(:close).subst(' ', '').say"
SHA256hash of file test.txt:
ab 71 0a de 21 c6 db 99 46 2e ed bf 63 fb 4a b0 f5 b5 e9 91 d0 00 82 8a 80 20 71
16 6a f9 a5 ca
CertUtil: -hashfile command completed successfully.
C:\temp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment