Exemplo n.º 1
0
 def test(self):
     seed = '8edad31a95e7d59f8837667510d75a4d'
     result = old_mnemonic.mn_encode(seed)
     words = 'hardly point goal hallway patience key stone difference ready caught listen fact'
     self.assertEquals(result, words.split())
     self.assertEquals(old_mnemonic.mn_decode(result), seed)
Exemplo n.º 2
0
 def test(self):
     seed = '8edad31a95e7d59f8837667510d75a4d'
     result = old_mnemonic.mn_encode(seed)
     words = 'hardly point goal hallway patience key stone difference ready caught listen fact'
     self.assertEquals(result, words.split())
     self.assertEquals(old_mnemonic.mn_decode(result), seed)