change fn name
This commit is contained in:
parent
7d74f9e21d
commit
63394435a5
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ def int_to_bytes(data: int) -> bytes:
|
|||
return data.to_bytes((data.bit_length() + 7) // 8, BYTEORDER)
|
||||
|
||||
|
||||
def h(string: str) -> str:
|
||||
def hash_data(string: str) -> str:
|
||||
"""Hash a string"""
|
||||
# https://docs.python.org/3/library/sys.html#sys.set_int_max_str_digits
|
||||
set_int_max_str_digits(len(string))
|
||||
|
|
Reference in a new issue