Skip to content

Commit

Permalink
Fix Type Error from pytest in brc4_joaat.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalon authored Dec 3, 2023
1 parent 93b975f commit 2c3bdad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/brc4_joaat.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def hash(data):
val = 0
for c in data:
v1 = ord(c) + val
v1 = c + val
v2 = (1025 * v1) & 0xffffffff
v3 = v2 >> 6
val = v2 ^ v3
Expand Down

0 comments on commit 2c3bdad

Please sign in to comment.