首页
诗词
字典
板报
句子
名言
友答
励志
学校
网站地图
Mysql
SQL Server
Mysql
oracle
IBM DB2
Informix
Sybase
Access
VFP
数据库开发
其他数据库
当前位置:
首页
>
教程频道
>
数据库
>
Mysql
>
mysql如何加密密码
2012-03-15
mysql怎么加密密码?最近密码泄露事件很轰动,我是用插入的SQL语句写入mysql的,明文保存密码!新闻说可以密文
mysql怎么加密密码?
最近密码泄露事件很轰动,我是用插入的SQL语句写入mysql的,明文保存密码!新闻说可以密文保存密码?请问密文保存完整的SQL语句是什么?请教,谢谢。
[解决办法]
引用
MD5(str)
Calculates an MD5 128-bit checksum for the string. The value is returned as a binary string of 32 hex digits, or NULL if the argument was NULL. The return value can, for example, be used as a hash key.
mysql> SELECT MD5('testing');
-> 'ae2b1fca515949e5d54fb22b8ed95575'
This is the “RSA Data Security, Inc. MD5 Message-Digest Algorithm.”
查看更多
下一篇
本文网址:
https://www.reader8.net/jiaocheng/20120315/1855033.html
读书人精选
热点排行
MySQL utf8存储 GBK读取,该如何解决
mysql 布尔类型boolean tinyint(一)
解决qt mysql出现的:无法加载驱动有关问
MySQL剔除表中大批量的数据
oracle、sqlserver跟mysql获取表外键的方
维护mysql 惯用到的sql
.net调mysql的存储过程出错: Data too l
mysql 子查询中limit有关问题
MySQL配置文件my.cnf 事例最详细翻译
mysql配置文件例证