HomeCybersecuritySwarm Integrity: Chunk-Hash Verification in P2P File Sharing

Swarm Integrity: Chunk-Hash Verification in P2P File Sharing

Interactive 3D simulation of a peer-to-peer file-sharing swarm: watch per-chunk cryptographic hash verification catch corrupted or malicious peers before poisoned data reaches your download, with quarantine and swarm-trust tracking.

Cybersecurity3DModerate60 FPS
exp-filesharing-security ↗ Open standalone

File-sharing networks split a file into many small chunks and pull them from whichever peers happen to hold each one — which means any peer in the swarm can hand you corrupted or deliberately poisoned data. This simulator renders a live peer-to-peer swarm in 3D: a central downloader pulls chunks from a ring of peers, each incoming chunk is hashed with a real FNV-1a digest and checked against a trusted manifest, and peers that fail the check enough times are quarantined and cut off from future requests. Toggle hash verification off to see exactly how an unverified transfer lets a single malicious peer silently corrupt the reassembled file, and watch the swarm trust score track how much of the network is still provably clean.

⚙ Under the hood

Interactive 3D peer-to-peer swarm where every downloaded file chunk is checked with a real FNV-1a hash against a trusted manifest, catching corrupted or malicious peers and quarantining them before poisoned data reaches your download.

p2phash-verificationfile-sharingcybersecurityswarmintegrity

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)