I am a beginner in cryptography. I'm testing AES-128 bit key, AES-256 bit key, and Camellia-256 bit key.
- I'm using AES-256, 9 character salt, CBC mode, PKCS #5 padding, and the ciphertext using BASE64encoder.
Avalanche effect is to calculate ”changed bits / total bits”. If I want to calculate the avalanche effect for AES-256, what are the right procedures to calculate the avalanche effect, and what are the rules in how long the plaintext, key, and ciphertext should be?
0-15 character plaintext produces 24 character ciphertext.
16-31 character plaintext produces 44 character ciphertext.
24 chars is 192 bits and 44 chars is 352 bits, how to get 256 bits in ciphertext?