i declared two arrays of 5 elements each ... one to store plain text and other the corresponding encrypted text.
Used a for loop to encrypt the data in plain text array into encrypted array.
Now when i run decryption on them using the for loop.
All results are wrong, except the last element.
i changed the number of elements too.
Did it with 10 elements, 15 elements etc..
Still decryption gives wrong result except the last element.
I am not doing anything out of the box. Simply using the code given in AES Example in read me.
i declared two arrays of 5 elements each ... one to store plain text and other the corresponding encrypted text. Used a for loop to encrypt the data in plain text array into encrypted array.
Now when i run decryption on them using the for loop. All results are wrong, except the last element.
i changed the number of elements too. Did it with 10 elements, 15 elements etc..
Still decryption gives wrong result except the last element.
I am not doing anything out of the box. Simply using the code given in AES Example in read me.