Shield Home

Checksum Verifier

House of Shield - Cryptographic Hash Functions & File Integrity Verification

Hash Calculator

MD5
SHA-1
SHA-256
SHA-512

Hash Comparison Tool

Avalanche Effect Demonstration

The avalanche effect shows that even a tiny change (like adding one character) produces a completely different hash. This is a critical security property.

Original Text

SHA-256

Modified Text

SHA-256

File Hash Simulation

Select a demo file to see how file contents are hashed. In real applications, this verifies file integrity.

ubuntu.iso
4.7 GB
document.pdf
2.45 MB
app.exe
15.6 MB
backup.zip
523 MB

Hash Algorithm Comparison

Algorithm Output Size Security Speed
MD5 128-bit (32 hex) Broken Fast
SHA-1 160-bit (40 hex) Weak Fast
SHA-256 256-bit (64 hex) Strong Medium
SHA-512 512-bit (128 hex) Strong Slower

Security Notes:

  • MD5: Collision attacks possible - DO NOT use for security
  • SHA-1: Deprecated for security - use SHA-256+ instead
  • SHA-256/512: Current industry standard for cryptographic purposes

Linux Commands Reference

MD5 Checksum
$ md5sum filename.txt
SHA-1 Checksum
$ sha1sum filename.txt
SHA-256 Checksum
$ sha256sum filename.txt
SHA-512 Checksum
$ sha512sum filename.txt
macOS/BSD Alternative
$ shasum -a 256 filename.txt
Verify Against Checksum File
$ sha256sum -c checksums.txt

Real-World Use Cases

Software Download Verification

When downloading software (OS images, applications), vendors provide checksums. Verify the downloaded file matches the published hash to ensure it hasn't been tampered with or corrupted during download.

Example: Ubuntu provides SHA-256 checksums for all ISO downloads on their website.

Password Storage

Passwords should NEVER be stored in plain text. Instead, store a hash of the password. When a user logs in, hash their input and compare it to the stored hash. Even if the database is compromised, passwords remain protected.

Note: Use specialized password hashing algorithms like bcrypt, Argon2, or PBKDF2, not simple SHA-256.

Digital Forensics

In forensic investigations, hash values prove file integrity. A hash taken at the scene can be compared to the hash of the same file later to verify no tampering occurred during the investigation process.

Critical for maintaining chain of custody in legal proceedings.

File Integrity Monitoring

Security systems monitor critical system files by storing their hashes. Regular scans compare current hashes to baseline hashes to detect unauthorized modifications, indicating potential security breaches or malware.

Tools: AIDE, Tripwire, OSSEC use this technique.

Knowledge Quiz