Review raw RSA value operations (SYSLIB0048)

Proprietary

Find attributed EncryptValue(byte[])/DecryptValue(byte[]) calls on RSA and derived providers without renaming them to modern overloads that require a padding argument. Custom raw RSA implementations may sit below existing padding code, and standard providers may deliberately throw.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net8.FindRawRsaValueMethods
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net8.FindRawRsaValueMethods

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.