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?
What makes you think it's a good idea?
, you really should try to provide your reasoning… not doing so is far from constructive. From my point of view, it’s better to learn than to blindly trust – and I really can’t come up with any logic reason why learning how to calculate avalance effects could have any negative effect. Care to explain the reason for your comment? $\endgroup$