diff --git a/src/pearson.py b/src/pearson.py index f4d2354..512ee14 100644 --- a/src/pearson.py +++ b/src/pearson.py @@ -13,7 +13,7 @@ def hashN(message: str, nBytes: int) -> str: """ retval=0 - for j in range(nBytes-1): + for j in range(nBytes): #Change the first byte h = table[(ord(message[j]) + j) % 256]; for i in message[1:]: