标签: asp.net forms-authentication machinekey
MSDN : machineKey
配置用于加密,解密和验证表单身份验证数据和视图状态数据以及进程外会话状态识别的算法和密钥
具体来说,FormsAuthentication中哪些方法使用validationKey和encryptionKey值?
答案 0 :(得分:3)
FormsAuthentication中使用validationKey和encryptionKey的方法是FormsAuthentication.Encrypt和FormsAuthentication.Decrypt方法。
validationKey
encryptionKey
One more link explaining how it works.