I need a Hash function with a 256bit output (as long int).
First I thought I could use SHA256 from the hashlib but it has an String Output and I need a number to calculate with.
Converting the 32 Byte String to a long would work also but I didn't find anything. In struct there is a unpack function but this only works for 8 Byte long types and not for longer longs.