commit 85d1d5923f7bb8491cea51e1780b9e9b17d06c9e
parent 93c27a62d47d9aab6b5502999df2ff184482e1e0
Author: ThomasV <thomasv@gitorious>
Date: Tue, 8 Nov 2011 15:04:33 +0100
cleanup
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/client/mnemonic.py b/client/mnemonic.py
@@ -1919,7 +1919,6 @@ words = [
n = 1626
-print len(words)
# Note about US patent no 5892470: Here each word does not represent a given digit.
# Instead, the digit represented by a word is variable, it depends on the previous word.
@@ -1947,13 +1946,13 @@ def mn_decode( wlist ):
return out
-key = '6a8657c1f2566290be460fd51bb9f7fc'
+
if __name__ == '__main__':
import sys
- a = key
- ss = mn_encode(a)
- print a
+ key = '6a8657c1f2566290be460fd51bb9f7fc'
+ ss = mn_encode(key)
+ print key
print ss
print mn_decode(ss)