class Base32::Kai
Constants
- ALPHABET
See en.wikipedia.org/wiki/Base58
Note: aplpabet used for encoding
- BIN
add shortcuts (convenience) aliases
- BINARY
simple hash map (helper) for conversion to binary string
- CODE
- NUM
- NUMBER
Note:
for decoding allow (misspelled) l/L for 1 and (misspelled) 0 for o/O - why? why not? and UPPERCASE letters - why? why not?
Public Class Methods
alphabet()
click to toggle source
# File lib/base32-alphabets/kai.rb, line 19 def self.alphabet() ALPHABET; end
binary()
click to toggle source
# File lib/base32-alphabets/kai.rb, line 75 def self.binary() BINARY; end
code()
click to toggle source
# File lib/base32-alphabets/kai.rb, line 74 def self.code() CODE; end
number()
click to toggle source
# File lib/base32-alphabets/kai.rb, line 63 def self.number() NUMBER; end