I am interested to understand how I can symetrically encrypt/decrypt a string in Nanoframework.
In my case the nanoframework would be deployed on an ESP32 controller. The encryption/decryption would help a .NET application running on a computer communicate with an ESP32.
I have tried searching through documentation but couldnt find anything yet.
In summary what I want to achieve is following:
string message = “Top Secret Message!!”;
string encryptedString = Encrypt(message, key, IV);
string decryptedMessage = Decrypt(encryptedString, key, IV);
Can someone guide, if such functinality is already there in NanoFramework. If not what could be a possible implememtation of the Encrypt/Dcrypt function.