|
Electroneum
|
Mnemonic seed generation and wallet restoration from them. More...
#include <string>#include <cstdint>#include <vector>#include <unordered_map>#include "wipeable_string.h"#include "misc_language.h"#include "int-util.h"#include "mnemonics/electrum-words.h"#include <boost/crc.hpp>#include "chinese_simplified.h"#include "english.h"#include "dutch.h"#include "french.h"#include "italian.h"#include "german.h"#include "spanish.h"#include "portuguese.h"#include "japanese.h"#include "russian.h"#include "esperanto.h"#include "lojban.h"#include "english_old.h"#include "language_base.h"#include "singleton.h"
Go to the source code of this file.
Namespaces | |
| crypto | |
| crypto namespace. | |
| crypto::ElectrumWords | |
| Mnemonic seed word generation and wallet restoration helper functions. | |
Macros | |
| #define | ELECTRONEUM_DEFAULT_LOG_CATEGORY "mnemonic" |
Functions | |
| std::vector< const Language::Base * > | crypto::ElectrumWords::get_language_list () |
| bool | crypto::ElectrumWords::words_to_bytes (const epee::wipeable_string &words, epee::wipeable_string &dst, size_t len, bool duplicate, std::string &language_name) |
| Converts seed words to bytes (secret key). More... | |
| bool | crypto::ElectrumWords::words_to_bytes (const epee::wipeable_string &words, crypto::secret_key &dst, std::string &language_name) |
| Converts seed words to bytes (secret key). More... | |
| bool | crypto::ElectrumWords::bytes_to_words (const char *src, size_t len, epee::wipeable_string &words, const std::string &language_name) |
| Converts bytes (secret key) to seed words. More... | |
| bool | crypto::ElectrumWords::bytes_to_words (const crypto::secret_key &src, epee::wipeable_string &words, const std::string &language_name) |
| Converts bytes (secret key) to seed words. More... | |
| void | crypto::ElectrumWords::get_language_list (std::vector< std::string > &languages, bool english) |
| Gets a list of seed languages that are supported. More... | |
| bool | crypto::ElectrumWords::get_is_old_style_seed (const epee::wipeable_string &seed) |
| Tells if the seed passed is an old style seed or not. More... | |
| std::string | crypto::ElectrumWords::get_english_name_for (const std::string &name) |
| Returns the name of a language in English. More... | |
Mnemonic seed generation and wallet restoration from them.
This file and its header file are for translating Electrum-style word lists into their equivalent byte representations for cross-compatibility with that method of "backing up" one's wallet keys.
Definition in file electrum-words.cpp.
| #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "mnemonic" |
Definition at line 67 of file electrum-words.cpp.