monero/src/mnemonics
moneromooo-monero f5f4109f9a
mnemonics: fix language detection with checksum word
If a checksum word is present, language detection would use
just the word prefixes. However, a set of word prefixes may
be found in more than one language, and so the wrong language
may be found first, which could then fail the checksum, since
the check may be done with a different unique prefix length
from the one it was created from.

We now make a checksum test when we we detect a language from
prefixes only, to make sure we have the correct one.
2017-01-15 11:16:25 +00:00
..
CMakeLists.txt Dropped "bit" from bitmonero. 2016-09-26 17:22:30 -04:00
electrum-words.cpp mnemonics: fix language detection with checksum word 2017-01-15 11:16:25 +00:00
electrum-words.h updated copyright year 2015-12-31 08:39:56 +02:00
english.h updated copyright year 2015-12-31 08:39:56 +02:00
german.h updated copyright year 2015-12-31 08:39:56 +02:00
italian.h updated copyright year 2015-12-31 08:39:56 +02:00
japanese.h updated copyright year 2015-12-31 08:39:56 +02:00
language_base.h mnemonics: fix misc STL containers leak 2016-12-10 12:51:36 +00:00
old_english.h updated copyright year 2015-12-31 08:39:56 +02:00
portuguese.h updated copyright year 2015-12-31 08:39:56 +02:00
russian.h updated copyright year 2015-12-31 08:39:56 +02:00
singleton.h updated copyright year 2015-12-31 08:39:56 +02:00
spanish.h updated copyright year 2015-12-31 08:39:56 +02:00