What encryption method does the .NET FormsAuthentication.Encrypt() method use?

后端 未结 1 420
梦毁少年i
梦毁少年i 2020-12-16 19:01

What encryption method does the .NET FormsAuthentication.Encrypt() method use?

There\'s no mention in the MSDN article:

http://msdn.microsoft.com/en-us/libra

相关标签:
1条回答
  • 2020-12-16 19:39

    This is defined by the machineKey element:

    <system.web>
        <machineKey validationKey="..." 
                    decryptionKey="..." 
                    validation="SHA1"
                    decryption="AES" />
    </system.web>
    
    0 讨论(0)
提交回复
热议问题