4 ms·
I usually use hashids for this purpose, which has libraries for a lot of languages: http://hashids.org/ http://hashids.org/ It's quick, easily reversible (so y
by sjs382 10y ago
I usually use hashids for this purpose, which has libraries for a lot of languages: http://hashids.org/ http://hashids.org/
It's quick, easily reversible (so you can translate "XmVgp" to "34" without consulting the database), and lets you choose the character set and minimum # of characters.