Since the block size of AES 256 is 256, how would we calculate the bytes of data AES 256 encrypts at one time?
Asked
Active
Viewed 4,235 times
0
-
1There are ways of doing AES in parallel, so you could be doing a bunch of bytes at one time, https://crypto.stackexchange.com/questions/34740/parallel-file-encryption-and-authentication-for-large-files – daniel Mar 09 '19 at 21:20
1 Answers
4
AES has always 128-bit block size with 128,192 and 256-bit keyspaces. Therefore, you can encrypt 16-byte at a time if you are using ECB and CBC modes. By using CTR mode you can encrypt 1-bit to 128-bit.
Some people confuse AES with Rijndael where AES is a variant of the Rijndael. Some old libraries use the Rijndael (see RijndaelManaged). Rijndael can have 128, 160, 192, 224, and 256-bit block size. Note that these are not standardized, see FIPS 197.

kelalaka
- 48,443
- 11
- 116
- 196
-
1
-
1@joshkmartinez Yes. 128 & 256 refer to the key size, not the block size. The block always remains at 128 bits/16 bytes. One way to look at it, is that the AES block (rectangular) gets deeper, rather than wider. – Paul Uszak Mar 09 '19 at 22:05