|
|
@ -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'))) |
|
|
|
|
|
|
|
|
|
|
|