What are the commonly used cookie encryption methods?
鸿运达
鸿运达 2018-11-01 15:59:54
0
1
1717

thinkphp5.1 Framework

First get the current timestamp, then use the timestamp to complete the username to 50 digits at both ends, and then use sha1 or md5 to encrypt it. Can this be done? ?

Or is there a better way?

What parameters are generally set for cookies?

鸿运达
鸿运达

reply all(1)
ringa_lee

The two encryption methods you mentioned are usually sufficient. Others, such as aes encryption, are very useful. You can learn more about it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!