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

2

u/aleques-itj Jul 10 '26

I mean, it doesn't really matter for an API key in this context.

You already have a guarantee you're dealing with 200+ bits of entropy, specifically unlike a password. There is no practical dictionary of api keys, the search space is galactic.