import hashlib import struct def verify(txid,secret,lessthan): sha512 = hashlib.sha512() sha512.update(secret+txid) b = long(sha512.hexdigest(),16) result = b % 65537 if result<lessthan: print "win!" else: print "lose!"
current time: Fri, 25 Nov 2016 17:42:57 +0000
Date | Secret |
---|---|
November 24 2016 | 87ce673535fdc069f19044621cc69337 |
November 23 2016 | 77ec20a7392c9db1e0a6ba6c458997ac |
November 22 2016 | 4baa4b30d538f6975d2998ccb888cbf7 |
November 21 2016 | d651e6cd60b7e1b32f74d0e028cc78ae |
November 20 2016 | e659efe7aceef4cfaaa4b52a06ce1c4d |
November 19 2016 | 6a872aa3a7e22517d0533e940042e03e |
November 18 2016 | c4228710601caf66b6c311df52d8a41b |
November 17 2016 | 8ac46753bb99d82663d97752fb886f81 |
November 16 2016 | 704cc07f9b7148a9e4a9960b5946cefc |
November 15 2016 | 7ed819a6cc3ada8d34a6bda6047193c3 |
November 14 2016 | a5cd162b3dc32e223c7cd5cdd18a54c5 |
November 13 2016 | ae3da9152a1b91008529cea0df80d8cd |
November 12 2016 | c96871fb35668b48a466d3be60c5c326 |
November 11 2016 | 7f134e40584b4ca825a4fd30c1f6b729 |