intrbiz / arduino-crypto

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

AES_256 problem with long texts #30

Open yoprogramo opened 3 years ago

yoprogramo commented 3 years ago

Could you please post some example of AES 256 working with text size > 16 chars?

In my implementation (encode using python and decoding in the ESP) the decoding is correct if the text haveless than 16 chars but if the text is longer the decryption fails (garbage).

timsky commented 3 years ago

Try this: https://github.com/intrbiz/arduino-crypto/pull/31