.Net Machinekey.Protect - 使用什么算法? [英] .Net Machinekey.Protect - what algorithm is used?

查看:15
本文介绍了.Net Machinekey.Protect - 使用什么算法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Machinekey.Protect 和 Machinekey.Unprotect 来加密我的应用程序中的值.一位潜在客户正在执行安全审核,并询问了此方法使用的加密算法,我正在努力使用 google 寻找答案.

I'm using Machinekey.Protect and Machinekey.Unprotect to encrypt values in my application. A potential client is performing a security audit and has asked about the encryption algorithms used by this method and I am struggling to find an answer using google.

任何有关可验证链接的帮助将不胜感激!

Any help with verifiable links would be greatly appreciated!

谢谢,约翰

推荐答案

加密&散列算法在 中指定 元素在 Web.config 中.

The encryption & hashing algorithms are specified in the <machineKey> element in Web.config.

默认为 AES256.

The default is AES256.

这篇关于.Net Machinekey.Protect - 使用什么算法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆