php - cookie encryption key
習慣沉默
習慣沉默 2017-05-16 13:08:55
0
2
594

The secret key for user cookie encryption can have strong consistency and does not need to read the library. Please find a method (to store user information when the user logs in, a secret key is needed. Please design a method for this secret key)

習慣沉默
習慣沉默

reply all(2)
给我你的怀抱

Then this key can only be spliced ​​by getting timestamps and the like

世界只因有你

This is what I do: device number (if there is a client device number) + user account + timestamp + custom characters (to further prevent guessing) to concatenate it. You can also combine it with the md5 algorithm to add a password to the whole

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template