并在.NET FormsAuthentication.Encrypt()方法使用的是什么加密方法? [英] What encryption method does the .NET FormsAuthentication.Encrypt() method use?
本文介绍了并在.NET FormsAuthentication.Encrypt()方法使用的是什么加密方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请问.NET FormsAuthentication.Encrypt()方法使用的是什么加密方法?
What encryption method does the .NET FormsAuthentication.Encrypt() method use?
有没有提到的MSDN文章:
There's no mention in the MSDN article:
<一个href="http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.encrypt.aspx">http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.encrypt.aspx
感谢。
推荐答案
这是由的machineKey 元素:
<system.web>
<machineKey validationKey="..."
decryptionKey="..."
validation="SHA1"
decryption="AES" />
</system.web>
这篇关于并在.NET FormsAuthentication.Encrypt()方法使用的是什么加密方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文