its 'sha256'
as I found out from web, I should encode the value in the dictionary
I have tried
as I know from the question I should use a loop from 1000 to 9999 and decode the value of the dictionary.
they used this process to generate that hash. and now I should do it in reverse process.
as I found out from web, I should encode the value in the dictionary
I have tried
hashlib.sha256("a".encode('utf-8')).hexdigest()and I reach
Quote:<sha256 HASH object @ 0x00000246AA5E1DC8>from this point I can not go further. I dont know what to do.
as I know from the question I should use a loop from 1000 to 9999 and decode the value of the dictionary.
they used this process to generate that hash. and now I should do it in reverse process.
#for peter,5104 import hashlib def encrypt_string(hash_string): sha_signature = \ hashlib.sha256(hash_string.encode()).hexdigest() return sha_signature hash_string = '5104' sha_signature = encrypt_string(hash_string) print(sha_signature)the output is:
Quote:99b057c8e3461b97f8d6c461338cf664bc84706b9cc2812daaebf210ea1b9974