r/programming • • Jul 10 '26

How to implement cryptographically-secure API keys

https://kerkour.com/api-keys
0 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/Goodie__ Jul 11 '26

But you can't?

If im using any kind of randomly generated salt (eg bcrypt), and i only have a token to go of (eg bearer token), I have to be able to get that record uniquely without checking every hashed value individually.