6 ms·
In 10,000 years, the Go code will be lost, but bored future people will reconstruct it from its hash through shear brute force searching. More seriously, if th
by earthboundkid 7y ago
In 10,000 years, the Go code will be lost, but bored future people will reconstruct it from its hash through shear brute force searching.
More seriously, if the hashes turn out to have serious security flaws, someone may be able to reconstruct the file someday.
- cyphar 7y ago> More seriously, if the hashes turn out to have serious security flaws, someone may be able to reconstruct the file someday. Unlikely. The pidgeon-hole principle applies here, there are many equally likely Go source files that hash to the same thing (regardless of hash function).
- earthboundkid 7y agoThe pigeon hole principle will find files that are not syntactically correct Go or of an unrealistic length unless there are really adversarially crafted inputs before the hash.