Get-FileHash C:\path\to\file.exe
Get-FileHash C:\path\to\file.exe -Algorithm MD5
Get-FileHash C:\path\to\file.exe -Algorithm SHA1
Get-FileHash C:\path\to\file.exe -Algorithm SHA256
md5sum /path/to/file
sha1sum /path/to/file
sha256sum /path/to/file