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.
NServiceBus. version 3.1 includes the
AesEncryptionService class that replaces the deprecated
RijndaelEncryptionService. In most cases, upgrading involves replacing all instances of
AesEncryptionService. No further code changes are necessary.