17

数据库表中唯一主键 id 用 32 位的 md5 算出来的值是否可行?

 3 years ago
source link: https://www.v2ex.com/t/668668
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
数据库 - @kerb15 - 比如:用户表中,将用户邮箱+密码的值去做 MD5,得出来的值作为 userId订单表中,将订单数据+时间戳的值去做 MD5,得出来的值作为订单 Id主要的疑问是,32 位的

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK