4 ms·
There are infinitely many strings that produce a given hash. Infinitely many of them will also produce a secondary hash that you check against. There is no gene
by jhpriestley 7y ago
There are infinitely many strings that produce a given hash. Infinitely many of them will also produce a secondary hash that you check against. There is no general-purpose scheme to compress arbitrary data, regardless of available computational power, because if you can compress all length-N plaintext strings then you must end up with at least 2^N distinct compressed strings which will take on average at least N bits of storage.