Integers are converted to strings using a complex mapping and a base 36 alphabet. Strings with valid digits (0-9 a-z)are converted back to integers. The encoding is one-to-one but not sequential.This is useful for obfuscating user ids in urls.
Required Ruby Version
None
Authors
Brett Pontarelli
Versions
- 2.0.0 September 23, 2013 (14.5 KB)
- 1.2.1 January 29, 2013 (9.5 KB)
- 1.2.0 January 29, 2013 (9.5 KB)
- 1.1.0 December 15, 2012 (4 KB)
- 1.0.0 December 14, 2012 (4 KB)