2 ms·
Even with a random per-initialization byte, you could still brute force it. Pick a random byte on your side, generate colliding keys with it, and send the reque
by mikeash 15y ago
Even with a random per-initialization byte, you could still brute force it. Pick a random byte on your side, generate colliding keys with it, and send the request. If it doesn't work, just try again until it does. You'd expect to only have to try this ~256 times before succeeding, still seems pretty practical.
Of course, bump this up to 2-4 bytes and it no longer is.
- oconnore 15y ago256 attempts is the upper bound. The expected value of attempts should be 128.