mysql函数
select password(‘123456’); #加密密码 select md5(‘123456’); #md5加密密码(貌似mysql数据库相同密码每次加密后的md5字符串都是一样
select AES_ENCRYPT('123456','key') ; #加密 select AES_DECRYPT( ( select AES_ENCRYPT('123456','key') ),'key') ; #解密
select encode('123456','qwedgnkh'); #加密 select decode(encode ("'123456'","'qwedgnkh'"),"'qwedgnkh'") #解密
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END