Encrypt Decrypt Cookies in ASP.NET
2015-02-05
0 0 0
no vote
Other
Earn points
Translation maninwest@Codeforge Author: Jitendra gangwar @ CodeProject introduces how to encrypt and decrypt & nbsp; cookie values. Cookies is a small text file that holds the values in the browser. Since cookies are stored in plain text files, their contents are easy to modify and read. Here & quot; MachineKey.Protect ”And“ MachineKey.Unprotect ”Method to encrypt and decrypt. MachineKey.Protect () and MachineKey.Unprotect () is in ASP.NET 4.5. These methods have two arguments. The first is the text in byte format to be encrypted and decrypted, and the other is the purpose, which is similar to the key that can pass any string value. We need to pass the same usage value to protect and unprotect the value. Design source code
加密
解密
CookiesASPNET
Related Source Codes
Basic algorithms required for cryptography (Autoke
0
0
no vote
delphi_ encryption tool
0
0
no vote
C language encryption
0
0
no vote
K210 program encryption
0
0
no vote
Vs console project polarssl RSA encryption and dec
0
0
no vote
No comment