I developed a p2p-app in C# which sends and receives encrypted text messages (50KB). For encryption, my app uses AES 128 bit in CBC cipher mode. For each message it uses a new randomly-generated IV.
Whatever, after reading the following two publications I have some concerns about my solution:
- First solutions for SSL/TLS vulnerability
- Vulnerability in SSL/TLS Could Allow Information Disclosure
I'm not an expert in encryption so my question is very simple: Do I have to replace CBC with another cipher mode or is it still secure in my scenario?
Since my app uses the RijndaelManaged class in C#, my alternatives are: CFB, CTS, OFB.