AES Cryptolib encrypted data doesn't decrypting by any other libraries on other platforms except Cryptolib itself
Hello everyone!
I encrypt the data with the AES-256 ECB algorithm using the X-Cube-Cryptolib library, while the library itself can decrypt the data correctly, and third-party libraries decrypt it incorrectly. I use 32 random bytes as the key.
I tried using Aes, AesManaged, Aes Crypto Provider, Rijndael, and RijndaelManaged in C# with the following parameters in the constructor
KeySize = 256;
Block Size = 128;
Mode = CipherMode.ECB;
Padding = PaddingMode.Zeros;
Key = key;
And on these sites by copying the bytes of the key and data from the debag:
https://www.devglan.com/online-tools/aes-encryption-decryption
http://aes.online-domain-tools.com/
https://www.javainuse.com/aesgenerator
https://encode-decode.com/aes256-encrypt-online/
Please tell me, maybe there is some error in the library. Thanks!
Best regards!
