Since the key length is 16 bytes, the block size for AES will be 16 bytes. You should use padding to make your data multiple of 16 bytes.
So your 44 bytes data will become 48 bytes long. There are various standards that tell how padding can be done before encryption and how it can be removed after decryption.
Forum posts: 235
You should use padding to make your data multiple of 16 bytes.
So your 44 bytes data will become 48 bytes long. There are various standards that tell how padding can be done before encryption and how it can be removed after decryption.
We used FIPS standard. Take a look at this link...
http://www.di-mgt.com.au/cryptopad.html