java - URL的ID加密,用什么算法好点呢?
PHP中文网
PHP中文网 2017-04-18 10:13:30
0
4
610
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(4)
黄舟

You can use uuid as the primary key or if you have to use auto-increment, add a field as a unique index

Peter_Zhu

If you are simply afraid of being seen because of the amount of data, just make a big number and start increasing it. . .

黄舟

And each increment is bigger

刘奇

The most trouble-free solution is: uuid, other methods are to generate strategies through custom primary keys and set the self-increase step size

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!