AES/CBC/PKCS5Padding vs AES/CBC/PKCS7Padding with 256 key size performance java
The block size is a property of the used cipher algorithm. For AES it is always 16 bytes. So strictly speaking, PKCS5Padding cannot be used with AES since it is defined only for a block size of 8 bytes. I assume, AES/CBC/PKCS5Padding is interpreted as AES/CBC/PKCS7Padding internally. The only difference between these padding schemes is … Read more