Works with H100 (AU) HW: 2.0, SW:1.0.10 now
This commit is contained in:
parent
a8f9e9d65c
commit
eb76a67451
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ commands = {'info' : '{"system":{"get_sysinfo":{}}}',
|
|||
# XOR Autokey Cipher with starting key = 171
|
||||
def encrypt(string):
|
||||
key = 171
|
||||
result = "\0\0\0\0"
|
||||
result = "\0\0\0"+chr(len(string))
|
||||
for i in string:
|
||||
a = key ^ ord(i)
|
||||
key = a
|
||||
|
|
Loading…
Add table
Reference in a new issue