Algorithms · LESSON 8
File hash — files can be hashed too
Not just text — files stored on a computer (photos, documents, etc.) can be hashed too.
lockUploaded files are not sent to any server — they are processed only in your browser.
Concept
A file has a "digest (hash)" too
Feed in all of a file's contents (its 0s and 1s) and it is summed up into a single-line hash. Change even one byte and the hash changes completely. So if someone fakes a file or secretly changes it, you can spot it at once.
Experiment
Compute a file hash
Choose any file, a photo or a document. Its hash is computed right away.
If draw materials (an entrant list file, etc.) are sealed with a hash like this, any secret change makes the hash differ and is caught at once.
