mysql给指定的id加密
select id,md5(concat(id,'aaaa')) as md5 from `magic_config` where concat(id,'aaaa')='025103d3816045e8bc09b0b0355c8402'
.....
select id,md5(concat(id,'aaaa')) as md5 from `magic_config` where concat(id,'aaaa')='025103d3816045e8bc09b0b0355c8402'
转载请注明:谷谷点程序 » mysql 把主键id 用md5加密的方法