public void TestMnemonicRestore_Language(Wordlist wordlist)
        {
            foreach (var key in keys)
            {
                var account = PrivateKeyNotWallet.FromBase64(key);

                var words    = MnemonicPrivateKeyFormat.GetMnemonic(account, wordlist);
                var restored = MnemonicPrivateKeyFormat.FromMnemonic(words);
                Assert.IsTrue(account.PrivateKey.Equals(restored));
            }
        }
        public void TestMnemonic_CreateFromEncrypted_RestoreFromEncrypted()
        {
            foreach (var key in keys)
            {
                var account = PrivateKeyNotWallet.FromBase64(key);

                var password = "******";

                var words    = MnemonicPrivateKeyFormat.GetMnemonicFromEncrypted(account, Wordlist.English, password, Network);
                var restored = MnemonicPrivateKeyFormat.FromMnemonicEncrypted(words, password, Network);
                Assert.IsTrue(account.PrivateKey.Equals(restored));
            }
        }