Mathematics
Recovering a message after part of it is destroyed
You store a message together with extra 'check' symbols computed from it, so that if some pieces are destroyed, the survivors still point to one possible original and rebuild it exactly. A QR code at its highest setting stays readable with about 30 percent blacked out. The same math, the Reed-Solomon code from 1960, lets a scratched CD play through.
Sources & further reading
Computer Science Field Guide, University of CanterburyError Control Coding: QR CodesHow a QR code can still be read with about 30 percent of it covered or damaged.WikipediaReed-Solomon error correctionThe reference on Reed-Solomon codes, the error-correcting math behind CDs, QR codes, Voyager, RAID storage, and digital TV.
Sign in with Google to read this idea in full and open the library.