Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import uuid
- import hashlib
- def nonce_generate():
- nonss = str(uuid.uuid4().hex)
- return nonss
- def praegune_kokku():
- eelmine = "cdac1f5a6b2d5fcd32bf9287702446dc0637644860809f1fa294e00eed00a254" #eelmine hash
- nonce = nonce_generate()
- print(nonce)
- praegune = "507cfa36f735b365f73c3c4facb2af8450dcb818f4e0c7ca22f20eab32997eca" #logo hash
- combined_hashes = eelmine + praegune + nonce
- print(combined_hashes)
- combined_hashes = hashlib.sha256(eelmine.encode() + praegune.encode() + nonce.encode()).hexdigest()
- return combined_hashes
- if __name__ == '__main__':
- print(praegune_kokku())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement