Re:A beginner's guide to constant-time cryptography (2017)
by ramchip on Thursday February 22, 2024 @04:00AM
(#39464773)
The problem is that as an attacker sending requests to the server, what you control is the API key, not the hash of the API key. To test a specific hash like "c000...0000" you would need to find an input to the hash function that will yield this output. Cryptographic hash functions have a property called preimage resistance that means this is prohibitively difficult (see e.g. https://crypto.stackexchange.com/a/1174).
[ Parent
| on HN ]
There are no comments on this comment yet.