Definition at line 28 of file RFC1751.h.
◆ getKeyFromEnglish()
Convert words separated by spaces into a 128 bit key in big-endian format.
- Returns
- 1 if succeeded 0 if word not in dictionary -1 if badly formed string -2 if words are okay but parity is wrong.
Definition at line 450 of file RFC1751.cpp.
◆ getEnglishFromKey()
Convert to human from a 128 bit key in big-endian format.
Definition at line 483 of file RFC1751.cpp.
◆ getWordFromBlob()
std::string ripple::RFC1751::getWordFromBlob |
( |
void const * |
blob, |
|
|
size_t |
bytes |
|
) |
| |
|
static |
Chooses a single dictionary word from the data.
This is not particularly secure but it can be useful to provide a unique name for something given a GUID or fixed data. We use it to turn the pubkey_node into an easily remembered and identified 4 character string.
Definition at line 494 of file RFC1751.cpp.
◆ extract()
unsigned long ripple::RFC1751::extract |
( |
char const * |
s, |
|
|
int |
start, |
|
|
int |
length |
|
) |
| |
|
staticprivate |
◆ btoe()
◆ insert()
void ripple::RFC1751::insert |
( |
char * |
s, |
|
|
int |
x, |
|
|
int |
start, |
|
|
int |
length |
|
) |
| |
|
staticprivate |
◆ standard()
void ripple::RFC1751::standard |
( |
std::string & |
strWord | ) |
|
|
staticprivate |
◆ wsrch()
int ripple::RFC1751::wsrch |
( |
std::string const & |
strWord, |
|
|
int |
iMin, |
|
|
int |
iMax |
|
) |
| |
|
staticprivate |
◆ etob()
◆ s_dictionary
char const * ripple::RFC1751::s_dictionary |
|
staticprivate |