RubyGems Navigation menu

fixed_length_encoder 2.0.0

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 2.0.0 - September 23, 2013 (14.5 KB)
  2. 1.2.1 - January 29, 2013 (9.5 KB)
  3. 1.2.0 - January 29, 2013 (9.5 KB)
  4. 1.1.0 - December 15, 2012 (4 KB)
  5. 1.0.0 - December 14, 2012 (4 KB)
Show all versions (6 total)

Development Dependencies (2):

bundler ~> 1.3
rake >= 0

Owners:

Authors:

  • Brett Pontarelli

SHA 256 checksum:

fab014f6e273445368b25c1a8f938ad6480ace1fbac657e24d2d0ed3edb95966

Total downloads 19,124

For this version 3,735

License:

MIT

Required Ruby Version: None

Links: