certutil -hashfile "Path\To\Some\File.mp4" SHA256
If you're curious about file hashes, they’re like digital fingerprints. If two files have the same hash, they’re bit-for-bit identical. Even one byte of difference would change the hash.
Open Command Prompt and run:
certutil -hashfile "I:\ZDOWNLOADS\3771391576.MP4" SHA256
Do it for both files:
certutil -hashfile "Path\To\Other\File.mp4" SHA256
Compare the output — if both hashes match, the files are 100% identical.
certutil -hashfile "I:\ZDOWNLOADS\3771391576.MP4" MD5
Still fine for comparing file contents (not for cryptographic security).
certutil
is originally a tool for managing X.509 certificates and other public key infrastructure (PKI) stuff on Windows. But Microsoft also included some handy utility functions in it, like:
- Hashing files (
-hashfile
) - Dumping certificate details
- Managing certificate stores
So while it was made for certs, people often use it for file hashing just because it's already built into Windows.
If you’re ever curious about alternatives more focused on hashing, tools like Get-FileHash
in PowerShell or cross-platform tools like sha256sum
in Git Bash or WSL work great too.