powershell
Get-FileHash filename
sha256sum filename
shasum -a 256 filename
Get-FileHash -Algorithm MD5 filename
Get-FileHash -Algorithm SHA1 filename
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash?view=powershell-7.3