使用aspnet_regiis的RSA加密 [英] RSA Encryption using aspnet_regiis
本文介绍了使用aspnet_regiis的RSA加密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试使用aspnet_regiis -pe"connectionStrings" -app"/MyApplication"对Webconfig中的connectionString进行加密
Hi I tried to encrypt my connectionString in webconfig using aspnet_regiis -pe "connectionStrings" -app "/MyApplication"
我想问问哪个密钥用来加密我的连接字符串,因为在这里我省略了provider参数.反正有检查吗?
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?
谢谢
推荐答案
要解密您的web.config,您只需使用-pd密钥再次使用aspnet_regiis:
to decrypt your web.config you just need to use aspnet_regiis again with -pd key:
aspnet_regiis -pd connectionStrings -app /MyApplication
这篇关于使用aspnet_regiis的RSA加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文