39#ifndef ELECTRUM_WORDS_H
40#define ELECTRUM_WORDS_H
75 std::string &language_name);
84 std::string &language_name);
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);
Definition wipeable_string.h:41
const uint8_t seed[32]
Definition code-generator.cpp:37
Mnemonic seed word generation and wallet restoration helper functions.
Definition electrum-words.cpp:71
std::vector< const Language::Base * > get_language_list()
Definition electrum-words.cpp:437
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:264
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
std::string get_english_name_for(const std::string &name)
Returns the name of a language in English.
Definition electrum-words.cpp:482
bool is_valid_language(const std::string &language)
Definition electrum-words.cpp:494
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:381
crypto namespace.
Definition crypto.cpp:60
epee::mlocked< tools::scrubbed< ec_scalar > > secret_key
Definition crypto.h:72
TODO: (mj-xmr) This will be reduced in an another PR.
Definition byte_slice.h:40
const char * name
Definition options.c:30