I've read some on this topic, but I'm still not 100% comfortable with the answers I see.
When you create a cryptographic algorithm using Rijndael.Create()
, you get an object of type RijndaelManaged
- there doesn't seem to be a difference between this and calling new RijndaelManaged()
(or New RijndaelManaged()
for you VB folks). :)
From what I've read, the Rijndael.Create()
method exists so that you don't need to worry about the specific implementation, in case it changes in a future version. But my question is: suppose that does happen, and .NET 5.0 returns a different implementation. Is there a guarantee that items encrypted using RijndaelManaged can be decrypted without issue using SomeFutureRijndaelManaged
?
I can't imagine that they would be incompatible, but I just want to confirm that.
Thanks