import hashlib
name = "grepper"
hashed_name = hashlib.sha256(hashed_name.encode('utf-8')).hexdigest())
print(hashed_name)
# result: 82475175ad97f60d1e2c57ef5fd8ae45629d555e1644d6f2a37b69b550a96e95
import hmac
import hashlib
hmac.new(secret.encode(), data_str.encode(), hashlib.sha256).hexdigest()
import hmac
import hashlib
dig = hmac.new(bytes(secret, 'latin-1'), msg=bytes("timestamp=1591702613943",'latin-1' ) , digestmod=hashlib.sha256).hexdigest()