diff --git a/det-gen.py b/det-gen.py index 3b89e44..5d88722 100644 --- a/det-gen.py +++ b/det-gen.py @@ -48,7 +48,7 @@ def det_orchid(keyname, raa, hda, hi): h_orchid_left = bytes.fromhex(hex(int(b_prefix + b_hid + b_ogaid, 2))[2:]) # print(h_orchid_left.hex()) shake = cSHAKE128.new(custom = ContextID) - shake.update((h_orchid_left + hi)) + shake.update((h_orchid_left + bytes([0, 1, 0, 0]) + hi)) h_hash = shake.read(8).hex() # print(h_hash)