问题
Hi I tried to encrypt my connectionString in webconfig using aspnet_regiis -pe "connectionStrings" -app "/MyApplication"
I want to ask which key is used to encrypt my connection string, because here I ommited the provider parameter. Is there anyway to check it?
Thanks before
回答1:
to decrypt your web.config you just need to use aspnet_regiis again with -pd key:
aspnet_regiis -pd connectionStrings -app /MyApplication
来源:https://stackoverflow.com/questions/36150555/rsa-encryption-using-aspnet-regiis