def seed_RFC1751(self):
     """
     Wallet seed in RFC-1751 mnemonic representation
     """
     return RFC1751.key_to_english(
         int.from_bytes(self._bytes,
                        byteorder='big').to_bytes(16, byteorder='little'))
예제 #2
0
 def runTest(self):
     "Check converting keys to English"
     for key, words in test_data:
         key = binascii.a2b_hex(key)
         self.assertEquals(RFC1751.key_to_english(key), words)
예제 #3
0
 def runTest (self):
     "Check converting keys to English"
     for key, words in test_data:
         key=binascii.a2b_hex(key)
         self.assertEqual(RFC1751.key_to_english(key), words)