40 #ifndef ELECTRUM_WORDS_H
41 #define ELECTRUM_WORDS_H
47 namespace epee {
class wipeable_string; }
61 namespace ElectrumWords
75 bool words_to_bytes(
const epee::wipeable_string &words, epee::wipeable_string& dst,
size_t len,
bool duplicate,
76 std::string &language_name);
85 std::string &language_name);
95 bool bytes_to_words(
const char *src,
size_t len, epee::wipeable_string& words,
96 const std::string &language_name);
106 const std::string &language_name);
113 void get_language_list(std::vector<std::string> &languages,
bool english =
false);
const char * name
Definition: simplewallet.cpp:400
std::vector< const Language::Base * > get_language_list()
Definition: electrum-words.cpp:439
const int seed_length
Definition: electrum-words.h:64
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:266
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:477
std::string get_english_name_for(const std::string &name)
Returns the name of a language in English.
Definition: electrum-words.cpp:484
const std::string old_language_name
Definition: electrum-words.h:65
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:383
crypto namespace.
Definition: crypto.cpp:58
epee::mlocked< tools::scrubbed< ec_scalar > > secret_key
Definition: crypto.h:82
Definition: cryptonote_format_utils.h:44