39 #ifndef ELECTRUM_WORDS_H
40 #define ELECTRUM_WORDS_H
46 namespace epee {
class wipeable_string; }
60 namespace ElectrumWords
74 bool words_to_bytes(
const epee::wipeable_string &words, epee::wipeable_string& dst,
size_t len,
bool duplicate,
75 std::string &language_name);
84 std::string &language_name);
94 bool bytes_to_words(
const char *src,
size_t len, epee::wipeable_string& words,
95 const std::string &language_name);
105 const std::string &language_name);
112 void get_language_list(std::vector<std::string> &languages,
bool english =
false);
const char * name
Definition: simplewallet.cpp:417
std::vector< const Language::Base * > get_language_list()
Definition: electrum-words.cpp:438
const int seed_length
Definition: electrum-words.h:63
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:265
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:476
std::string get_english_name_for(const std::string &name)
Returns the name of a language in English.
Definition: electrum-words.cpp:483
const std::string old_language_name
Definition: electrum-words.h:64
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:382
crypto namespace.
Definition: crypto.cpp:60
epee::mlocked< tools::scrubbed< ec_scalar > > secret_key
Definition: crypto.h:67
Definition: cryptonote_format_utils.h:44