#include <RFC1751.h>
Definition at line 9 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 391 of file RFC1751.cpp.
◆ getEnglishFromKey()
Convert to human from a 128 bit key in big-endian format.
Definition at line 421 of file RFC1751.cpp.
◆ getWordFromBlob()
| std::string xrpl::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 432 of file RFC1751.cpp.
◆ extract()
| unsigned long xrpl::RFC1751::extract |
( |
char const * | s, |
|
|
int | start, |
|
|
int | length ) |
|
staticprivate |
◆ btoe()
◆ insert()
| void xrpl::RFC1751::insert |
( |
char * | s, |
|
|
int | x, |
|
|
int | start, |
|
|
int | length ) |
|
staticprivate |
◆ standard()
◆ wsrch()
◆ etob()
◆ dictionary
| char const * xrpl::RFC1751::dictionary |
|
staticprivate |