AES input and output constraints

I want to use AES encryption in my application. I came across some open source implementations of the aes algorithm. Having looked at them, I am confused by the following parameters:

  • AES key length. Specifies that the key length should be 128, 192 or 256 bytes. What if my key is just five digits, i.e. 23467

  • AES text length: is there a limit on the length of aes plain text?

  • AES output: what will be the minimum size of the aes output line if my key length is 5 digits and plain text is 10 characters.

Can anybody help me?

+3
source share
2 answers

AES. , 128, 192 256 . , - , .. 23467

, , . . . , - .

, , , -. 234567 . , . " " , ; , PBKDF2, RFC2898.

AES: aes?

AES - -, . (16 ), " ", . CTR - , .

AES: aes, 5 , - 10 .

. , , 10 ( , , CTR) 16 ( CBC).

+7
  • , 128 256. ( 198.)

  • . . , PBKDF1 (google it), .

  • . AES - -. , , . , , 128- (). , CBC AES.

  • - 128 256 . 80 (10 * 8), 128 256. , .

, . AES. IV, AES, , MAC .. , , .

+2

Source: https://habr.com/ru/post/1781865/


All Articles