简体   繁体   中英

Why the size of the encrypted data using AES is much bigger?

my implementation is in python,after using the AES encryption algorithm on a file with size 111kb the encrypted data size after AES is about 139 kb. I need a help and ask if it's normal or not.

在此处输入图像描述

I tried to handle the size but it doesn't work. is there anything wrong in writing the code that maybe maximize the size?

You are b85 encoding the encrypted data which increases the size of the data. Moreover, I am not sure why you b85 encode the iv along with the encrypted data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM