As of .NET 7, the
RijndaelManaged class is obsolete and not recommended. The replacement class,
AesManaged is backward-compatible with the old class in that messages encrypted with
RijdaelManaged can be decrypted by
AesManaged and vice versa.
RijdaelEncryptionService has been removed. Use
AesEncryptionService instead. In most cases, upgrading involves replacing all instances of
AesEncryptionService. No further code changes are necessary.