39 #ifndef ELECTRUM_WORDS_H 40 #define ELECTRUM_WORDS_H 46 namespace epee {
class wipeable_string; }
60 namespace ElectrumWords
112 void get_language_list(std::vector<std::string> &languages,
bool english =
false);
::std::string string
Definition: gtest-port.h:1097
bool is_valid_language(const std::string &language)
Definition: electrum-words.cpp:494
bool get_is_old_style_seed(const epee::wipeable_string &seed)
Tells if the seed passed is an old style seed or not.
Definition: electrum-words.cpp:475
bool 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.
Definition: electrum-words.cpp:381
crypto namespace.
Definition: crypto.cpp:60
std::string get_english_name_for(const std::string &name)
Returns the name of a language in English.
Definition: electrum-words.cpp:482
const std::string old_language_name
Definition: electrum-words.h:64
std::vector< const Language::Base * > get_language_list()
Definition: electrum-words.cpp:437
TODO: (mj-xmr) This will be reduced in an another PR.
Definition: byte_slice.h:39
bool 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).
Definition: electrum-words.cpp:264
const uint8_t seed[32]
Definition: code-generator.cpp:37
Definition: wipeable_string.h:40
const char * name
Definition: options.c:30
const int seed_length
Definition: electrum-words.h:63