Hub/Blog/Reverse Search & Attribution
Reverse Search & AttributionRutvij Khatri•7 min read•Published 2026-10-14

Perceptual Hashing (pHash) Explained: Finding Re-saved and Cropped Photos

Understand how Discrete Cosine Transform (DCT) perceptual fingerprints survive compression, resizing, and color grading where MD5 and SHA-256 fail.

Why Cryptographic Hashes Fail on Images

Cryptographic algorithms like SHA-256 exhibit the avalanche effect: changing a single bit or saving a JPEG at 79% instead of 80% produces a completely unrecognizable new hash.

Perceptual hashing models human visual perception by downsampling the image and computing low-frequency DCT coefficients. If an image is resized, compressed, or cropped slightly, its pHash remains virtually identical.

Key Investigative Takeaway

Use SHA-256 for chain of custody and legal integrity; use pHash for tracking duplicate image distribution across social media.

#perceptual hash online#phash vs md5#find duplicate images#dhash ahash explanation
RK
Rutvij KhatriSecurity Analyst

Security Analyst and Aspiring Security Engineer passionate about digital image forensics, OSINT research, CTF steganography challenges, and client-side application security.

Related Guides in Reverse Search & Attribution