secp256k1
secp256k1 copied to clipboard
pls Add SHA256 iteration
Good afternoon, please add to the DLL possibly recalculating SHA256 as many times as needed. e.g. get_sha256(input_bytes, iteration) get_sha256(b'a', 2048)
OK. Will see about it. Although it is possible to just write a python wrapper function without touching dll, in case.
def bin_slowsha(string): string = from_string_to_bytes(string) orig_input = string for i in range(100000): string = hashlib.sha256(string + orig_input).digest() return string