1
0
Fork 0

Try to fix mldr shenanigans

This commit is contained in:
Carlos Mogas da Silva 2021-06-21 20:57:31 +01:00
parent 539381a549
commit e5ac232d3e

View file

@ -86,7 +86,7 @@ def main():
block['data-password'].encode('utf-8')) block['data-password'].encode('utf-8'))
key = md5.hexdigest() key = md5.hexdigest()
cryptor = AESCrypt(key) cryptor = AESCrypt(key)
text = ''.join(map(str, block.contents)) text = ''.join(map(str, block.contents)).replace("…", "…")
written = base64.b64encode( written = base64.b64encode(
cryptor.encrypt(text.encode('utf8'))) cryptor.encrypt(text.encode('utf8')))