intrbiz / arduino-crypto

A minimal crypto library for ESP8266 Arduino
Other
140 stars 54 forks source link

Decryption giving wrong Results #19

Closed jassi00713 closed 4 years ago

jassi00713 commented 6 years ago

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.