DEV Community
•
2026-03-24 13:46
sha256sum, shasum, Get-FileHash — and still no good way to compare hashes
I download a file. The website has a SHA-256 hash next to it. I want to verify it. So I run sha256sum, get a wall of hex, paste the expected hash next to it, and squint at two 64-character strings trying to spot any difference.
For a quick one-off verification, the native tools are clunky. On Linux it's sha256sum, on macOS it's shasum -a 256, on Windows it's some PowerShell command. Different syn...