mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-26 10:43:41 +02:00
Merge branch 'dictionary' into develop
# Conflicts: # CMakeLists.txt # src/main.cpp
This commit is contained in:
commit
f84f474290
19 changed files with 97183 additions and 19 deletions
|
|
@ -29,12 +29,14 @@
|
|||
|
||||
namespace eoskeygen {
|
||||
|
||||
class Dictionary;
|
||||
|
||||
struct key_result {
|
||||
size_t pos; // position where the word was found.
|
||||
size_t len; // the length of the word.
|
||||
};
|
||||
|
||||
void key_search_result(const struct ec_keypair* key, const struct key_result* result);
|
||||
void key_search_result(const struct ec_keypair* key, const struct key_result* result, const Dictionary& dict);
|
||||
|
||||
// Check if any word in <word_list> appears in <key>'s public key.
|
||||
// returns true if a word was found (stored in <result>), false otherwise.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue