class

Base58::Alphabet::Ripple

Inherits Base58::Alphabet / Reference / Object

The Ripple alphabet is a fun beast. The order of the characters in it are distinctly strange compared to the straightforward order with Bitcoin and Flickr. However, the order was chosen to support human readability of commonly encoded Ripple values. Some historical perspective can be found at: https://web.archive.org/web/20170210105346/https://wiki.ripple.com/Encodings

rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz

Constants

BaseToUInt = UInt8.static_array(114, 112, 115, 104, 110, 97, 102, 51, 57, 119, 66, 85, 68, 78, 69, 71, 72, 74, 75, 76, 77, 52, 80, 81, 82, 83, 84, 55, 86, 87, 88, 89, 90, 50, 98, 99, 100, 101, 67, 103, 54, 53, 106, 107, 109, 56, 111, 70, 113, 105, 49, 116, 117, 118, 65, 120, 121, 122)
UIntToBase = UInt8.static_array(0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 50, 33, 7, 21, 41, 40, 27, 45, 8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 54, 10, 38, 12, 14, 47, 15, 16, 0_u8, 17, 18, 19, 20, 13, 0_u8, 22, 23, 24, 25, 26, 11, 28, 29, 30, 31, 32, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 5, 34, 35, 36, 37, 6, 39, 3, 49, 42, 43, 0_u8, 44, 4, 46, 1, 48, 0, 2, 51, 52, 53, 9, 55, 56, 57, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8, 0_u8)

Class methods

[](val)

The Ripple alphabet is a fun beast. The order of the characters in it are distinctly strange compared to the straightforward order with Bitcoin and Flickr. However, the order was chosen to support human readability of commonly encoded Ripple values. Some historical perspective can be found at: https://web.archive.org/web/20170210105346/https://wiki.ripple.com/Encodings

rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz

Source
[]?(val)

The Ripple alphabet is a fun beast. The order of the characters in it are distinctly strange compared to the straightforward order with Bitcoin and Flickr. However, the order was chosen to support human readability of commonly encoded Ripple values. Some historical perspective can be found at: https://web.archive.org/web/20170210105346/https://wiki.ripple.com/Encodings

rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz

Source
inverse(val)

The Ripple alphabet is a fun beast. The order of the characters in it are distinctly strange compared to the straightforward order with Bitcoin and Flickr. However, the order was chosen to support human readability of commonly encoded Ripple values. Some historical perspective can be found at: https://web.archive.org/web/20170210105346/https://wiki.ripple.com/Encodings

rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz

Source
inverse?(val)

The Ripple alphabet is a fun beast. The order of the characters in it are distinctly strange compared to the straightforward order with Bitcoin and Flickr. However, the order was chosen to support human readability of commonly encoded Ripple values. Some historical perspective can be found at: https://web.archive.org/web/20170210105346/https://wiki.ripple.com/Encodings

rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz

Source