suculent / thinx-aes-lib

AES wrapper for ESP8266/ESP32/Arduino/nRF5x
Other
118 stars 37 forks source link

Fix problems with buffer on decrypt64 (produce crash on ESP32) and en… #59

Closed emanavas closed 2 years ago

emanavas commented 3 years ago

…crypt64 return length

hansliss commented 2 years ago

While this patch removes the unnecessary extra Base64 encoding in the encrypt64()/decrypt64() functions, it also adds a Base64 encoding to encrypt(), which should absolutely not be there.