It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
#!/usr/bin/env python3
import sys
import hashlib
import hmac
private_keys = open('private.hash', 'r')
public_keys = open('public.hash', 'r')
def is_valid_key(date, private_key, public_key):
if hashlib.sha256(private_key).hexdigest().encode('utf-8') == public_key:
print('Private key verified')
return True
else:
print('The private key is NOT valid')
return False
def get_lucky_number(transaction_hash, private_key):
return int(hmac.new(private_key, transaction_hash,
hashlib.sha512).hexdigest()[:4], 16)
if __name__ == '__main__':
log = open(sys.argv[1])
transaction_hash = bytes(sys.argv[1].split('.')[0].encode('utf-8'))
print('Transaction_hash: {}'.format(transaction_hash))
for line in log:
if 'Date: ' in line:
date = line.split()[1]
print('Date: {}'.format(date))
if 'lessthan_game: ' in line:
less_than_game = int(line.split()[1])
print('Less than: {}'.format(less_than_game))
print()
if 'Lucky number: ' in line:
false_lucky_number = line.split()[2]
print('False lucky number: {}'.format(false_lucky_number))
if 'Game Result: ' in line:
old_result = line.split()[2]
print('Old result: {}'.format(old_result))
print()
for line in private_keys:
if date in line:
private_key = line.split()[1].encode('utf-8')
print('Private key: {}'.format(private_key))
for line in public_keys:
if date in line:
public_key = line.split()[1].encode('utf-8')
print('Public key: {}'.format(public_key))
if is_valid_key(date, private_key, public_key):
print()
lucky_number = get_lucky_number(transaction_hash, private_key)
print('Lucky number: {}'.format(lucky_number))
if lucky_number < less_than_game:
result = 'win'
else:
result = 'lose'
print('Result: {}'.format(result))
print()
if old_result != result:
print('DIFFERENT RESULT!!!')
else:
print('Old result: OK')
./luckynumber.py d9c8a227744f5b02f6b794b1460f996414c16b0a19d15b92d804f0b2bf12a3cf.log
#!/usr/bin/env python3
import hashlib
import hmac
private_keys = open('private.hash', 'r')
public_keys = open('public.hash', 'r')
def is_valid_key(date, private_key, public_key):
if hashlib.sha256(private_key).hexdigest().encode('utf-8') == public_key:
print('Private key verified')
return True
else:
print('The private key is NOT valid')
return False
def get_lucky_number(transaction_hash, private_key):
return int(hmac.new(private_key, transaction_hash,
hashlib.sha512).hexdigest()[:4], 16)
if __name__ == '__main__':
date = input('Date (MM.DD.YYYY): ')
transaction_hash = bytes(input('Transaction hash: ').encode('utf-8'))
print()
for line in private_keys:
if date in line:
private_key = line.split()[1].encode('utf-8')
print('Private key: {}'.format(private_key))
for line in public_keys:
if date in line:
public_key = line.split()[1].encode('utf-8')
print('Public key: {}'.format(public_key))
if is_valid_key(date, private_key, public_key):
print()
print('Lucky number: {}'.format(get_lucky_number(
transaction_hash, private_key)))