I tried to decrypt ecb with no luck, i’m using mbed TLS.
- I encrypt a text only using text with 16 0’s.
I then get: [0xae, 0x51, 0xb8, 0xba, 0x54, 0xdb, 0xd8, 0x21, 0x40, 0x81, 0x0c, 0xfe, 0x9e, 0x1c, 0x1b, 0xf4] as my textout.
- I tried to to take this in once again to decrypt the text and get my original 16 0’s bytearray, but when I do this I get:
How can his be? The textout is not 16 0’s…
I changed the ecb mode from encrypt to decrypt before decrypting it.
Thanks in regards!