Skip to content

Commit

Permalink
2.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCommCraft committed Mar 7, 2024
1 parent 782b3c9 commit f7f86e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scratchcommunication/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ def decrypt(self, data : str, salt : int = 0) -> str:

def bin_xor(__bytes : bytes, number : int):
byte_list = [int("".join(a)) for a in batched(str(number), 2)]
return bytes(a ^ b for a, b in zip(__bytes, byte_list))
return (f_p := bytes(a ^ b for a, b in zip(__bytes, byte_list)))+__bytes[len(f_p):]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='scratchcommunication',
version='2.2.5',
version='2.2.6',
author='Simon Gilde',
author_email='[email protected]',
description='A python module for communicating with scratch projects',
Expand Down

0 comments on commit f7f86e2

Please sign in to comment.