3 ms·
> 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 princi
by 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.