Ts
This commit is contained in:
1 parent
a11b0bba1c
commit
240b3c7ddc
2 files changed
+12
No files matched your search
@@ -0,0 +1,8 @@
|
||||
def decode(string: str, start: int = 0):
|
||||
b = bytes.fromhex(string[start:])
|
||||
b0 = b[0]
|
||||
return "".join(chr(i ^ b0) for i in b[1:])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
decode("f09c9491b09c949c9491de939f9d", 0) # [email protected]
|
||||
Reference in new issue
Block a user