← All recipes
Moderne licensed

Rename MLDsa/SlhDsa SecretKey members to PrivateKey

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.MlDsaSlhDsaSecretKeyToPrivateKeyArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

Renames SecretKey to PrivateKey in MLDsa and SlhDsa post-quantum cryptography APIs to align with .NET 10 naming conventions.

Single recipenet10dotnetcryptographyProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.MlDsaSlhDsaSecretKeyToPrivateKey

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet