|
xrpld
|
#include <RFC1751.h>
Static Public Member Functions | |
| static int | getKeyFromEnglish (std::string &strKey, std::string const &strHuman) |
| Convert words separated by spaces into a 128 bit key in big-endian format. | |
| static void | getEnglishFromKey (std::string &strHuman, std::string const &strKey) |
| Convert to human from a 128 bit key in big-endian format. | |
| static std::string | getWordFromBlob (void const *blob, size_t bytes) |
| Chooses a single dictionary word from the data. | |
Static Private Member Functions | |
| static unsigned long | extract (char const *s, int start, int length) |
| static void | btoe (std::string &strHuman, std::string const &strData) |
| static void | insert (char *s, int x, int start, int length) |
| static void | standard (std::string &strWord) |
| static int | wsrch (std::string_view strWord, int iMin, int iMax) |
| static int | etob (std::string &strData, std::vector< std::string > vsHuman) |
Static Private Attributes | |
| static char const * | dictionary [] |
|
static |
Convert words separated by spaces into a 128 bit key in big-endian format.
Definition at line 392 of file RFC1751.cpp.
|
static |
Convert to human from a 128 bit key in big-endian format.
Definition at line 423 of file RFC1751.cpp.
|
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 434 of file RFC1751.cpp.
|
staticprivate |
Definition at line 201 of file RFC1751.cpp.
|
staticprivate |
Definition at line 228 of file RFC1751.cpp.
|
staticprivate |
Definition at line 248 of file RFC1751.cpp.
|
staticprivate |
Definition at line 285 of file RFC1751.cpp.
|
staticprivate |
Definition at line 310 of file RFC1751.cpp.
|
staticprivate |
Definition at line 344 of file RFC1751.cpp.