Preserve literal-format Forms Authentication password hashes

Proprietary

Opt-in .NET 5+ port of resolved FormsAuthentication.HashPasswordForStoringInConfigFile calls with literal SHA1, MD5, SHA256, SHA384 or SHA512 formats. Preserve UTF8 input, uppercase hexadecimal output, null-password errors and single evaluation. This preserves legacy stored hashes; it does not strengthen password storage. Platform cryptographic providers and policy may differ. Named arguments, expression trees, conditional files and commented discarded syntax remain for review. Unused top-level legacy imports are removed conservatively.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net5.PreserveFormsAuthenticationPasswordHash
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net5.PreserveFormsAuthenticationPasswordHash

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