summaryrefslogtreecommitdiff
path: root/devel/py-sqids/pkg-descr
blob: 8b44e4dd7bcd81bf972fc20ac3d134166e325b34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Sqids (pronounced "squids") is a small library that lets one generate
YouTube-like unique IDs from numbers.  It is good for link shortening,
fast and URL-safe ID generation, and decoding back into numbers for
quicker database lookups.

Good for:

  - Generating IDs for public URLs (e.g. link shortening)
  - Generating IDs for internal systems (e.g. event tracking)
  - Decoding for quicker database lookups (e.g. by primary keys)

Not good for:

  - Sensitive data (this is not an encryption library)
  - User IDs (can be decoded revealing user count)