Skip to content

Instantly share code, notes, and snippets.

@rodjjo
Created April 11, 2020 20:23
Show Gist options
  • Save rodjjo/b40142b068530204e608f8d67ddd7608 to your computer and use it in GitHub Desktop.
Save rodjjo/b40142b068530204e608f8d67ddd7608 to your computer and use it in GitHub Desktop.
Display a message box with file sha1 information
; compile this script to generate sha1.exe
; drag the file to executable to compute it's sha1
#include <Crypt.au3>
$sha1 = _Crypt_HashFile ($CmdLine[1], $CALG_SHA1)
MsgBox(0, 'Sha1 of ' & $CmdLine[1], $sha1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment