AES/CBC/PKCS5Padding vs AES/CBC/PKCS7Padding with 256 key size performance java
问题 I am currently using AES/CBC/PKCS5Padding for encrypting files in Java with 256 bytes key size, but while searching I found on stackexchange PKCS#5-PKCS#7 Padding and it is mentioned, PKCS#5 padding is a subset of PKCS#7 padding for 8 byte block sizes So I want to know Will the performance of AES/CBC/PKCS7Padding will be better then AES/CBC/PKCS5Padding for the above configuration? How can we configure the block size in Java as it is mentioned PKCS#7 padding would work for any block size from