1DkyBEKt5S2GDtv7aQw6rQepAvnsRyHoYM


SUBMITTED BY: Guest

DATE: March 5, 2013, 2:26 a.m.

FORMAT: Python

SIZE: 1.4 kB

HITS: 1612

  1. #!/usr/bin/env python
  2. import addrgen # git clone https://github.com/weex/addrgen
  3. a=['u','v']
  4. b=['e','o','a']
  5. c=['U','V']
  6. d=['3','9','8']
  7. e=['C','G']
  8. f=['9','0','Q','O']
  9. g=['H','K']
  10. pattern="5J%sqRJML3%sT%sX%srNdovThJ5U12AsEGenzr7Q3LXL3ea%s%sQb%sQoj"
  11. #print "%s %d" % pattern
  12. for a1 in a:
  13. for b1 in b:
  14. for c1 in c:
  15. for d1 in d:
  16. for e1 in e:
  17. for f1 in f:
  18. for g1 in g:
  19. pkey = pattern % (a1,b1,c1,d1,e1,f1,g1)
  20. #print "%s" % pkey
  21. try:
  22. if (addrgen.base58_check_decode(pkey,128)):
  23. print "%s OK!" % pkey
  24. else:
  25. print "%s NO" % pkey
  26. except:
  27. print "%s Exeption" % pkey

comments powered by Disqus