Which cryptographic algorhythm does the iis aspnet_regiis -pe command use?

Tom Parks 21 Reputation points
2021-07-22T19:55:35.917+00:00

I need to know is it like SHA-2 or what? This is for the purpose of documenting compliance related stuff at work. THanks!

Developer technologies ASP.NET ASP.NET Core
0 comments No comments
{count} votes

Accepted answer
  1. Sam Wu-MSFT 7,561 Reputation points Microsoft External Staff
    2021-07-23T03:01:08.987+00:00

    Hi @Tom Parks

    Which cryptographic algorhythm does the iis aspnet_regiis -pe command use?

    The basic aspnet_regiis.exe’s provider used is RsaProtectedConfigurationProvider, which use the RSA encryption algorithm.

    More information you can refer to this link: RsaProtectedConfigurationProvider and Importing and Exporting Protected Configuration RSA Key Containers.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Bruce Barker 801 Reputation points
    2021-08-14T15:23:51.31+00:00

    The default key size will depend on version of iis. You can set with -size option.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.