4

MD5 编码后的数据,如何做模糊查询?

 1 year ago
source link: https://www.v2ex.com/t/895612
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.

V2EX  ›  程序员

MD5 编码后的数据,如何做模糊查询?

  ReinerShir · 2 小时 51 分钟前 · 623 次点击

比如身份证号,用 MD5+SALT 编码后存储,但又要做模糊查询,该怎么解决呢?

7 条回复    2022-11-16 11:46:01 +08:00

lslvxy      2 小时 46 分钟前

加个字段明文存一下

dqzcwxb      2 小时 26 分钟前

对称加密,权限隔离
权限隔离指的是,看仓库的拿不到钥匙,有钥匙的进不了仓库


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK