Hi, I would like to have an example of AES encryption and decryption with Dart. I saw in Dart there are a library cipher
https://www.dartdocs.org/documentation/cipher/0.3.0/cipher.api/cipher.api-library.html
that can help to do that. But I have 2 problems here :
An simple example of encrypting a string, and decrypt it to get the initial string.
I need it to work with other AES library, assuming that they all follow the standard. In particular I have my frontend in Dart and backend in C++ which I plan to use crypto++ for that purpose. The point is in crypto++, the required input are the key and the Initialization Vector (IV), while in Dart/cipher, it doesn't seem to require the IV. I wonder if the input requirement are different, they couldn't work together.
Conclusion, if someone can help with an example of using Dart with any library (cipher/crypto) that can encrypt/decrypt a string with 2 inputs Key and IV, that will amazingly help me.
Thank you all