Skip to content

Instantly share code, notes, and snippets.

@stonyw
Created July 5, 2013 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stonyw/5934588 to your computer and use it in GitHub Desktop.
Save stonyw/5934588 to your computer and use it in GitHub Desktop.
26 abcdefghijklmnopqrstuvwxyz
26 ABCDEFGHIJKLMNOPQRSTUVWXYZ
10 0123456789
1lI -> 1
0O -> 0
26*2+10-(5-2)
int => key
0-58 => array:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ0123456789"
key => int
a b c d e f g h i j k l m n o p q r s t u v w x y z =>
0 1 2 3 4 5 6 7 8 9 10 50 11 12 13 14 15 16 17 18 19 20 21 22 23 24
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z =>
25 26 27 28 29 30 31 32 50 33 34 35 36 37 49 38 39 40 41 42 43 44 45 46 47 48
0 1 2 3 4 5 6 7 8 9
49 50 51 52 53 54 55 56 57 58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment