Sqids (pronounced "squids") is a small library that lets you generate YouTube-looking IDs from numbers
It's good for link shortening, fast & URL-safe ID generation and decoding back into numbers for quicker database lookups.
It is a rebranding of the excellente Hashids.Net library.
We use it to prevent id enumeration attack where attacker just increment the integer id based on the data passed on the url e.g. /admin/user/333 and /admin/user/334.
- Software Engineering