Hacker News new | ask | show | jobs
by fdupress 1164 days ago
Hash the input (O(n)), search for a second preimage (very much not O(n) if you use a cryptographic hash).