密码学哈希函数是现代密码学的核心,广泛用于数字签名和消息认证。它将任意长度的输入映射为固定长度的输出,需具备抗原像性、抗第二原像性和抗碰撞性等安全属性。MD5和SHA-1因安全性不足被淘汰,SHA-2和SHA-3则提供更强的安全性。哈希函数在密码学协议中至关重要,设计时需兼顾安全性与性能。
2025年4月5日,Álvaro Herrera提交补丁,为pgcrypto添加SHA-2密码哈希,支持sha256crypt和sha512crypt算法,增强了密码哈希的安全性,并允许可调节的迭代次数生成盐值,提高了灵活性和安全性。
ProxySQL发布2.6.0版本,新增caching_sha2_password支持,解决用户关注的身份验证问题。作者建议在生产环境前充分测试。
Every day we use dozens if not hundreds of applications connecting to some kind of data repository. This simple step is normally executed over the network and, given so, it is subject to possible...
In our time, every day we use dozens if not hundreds of applications connecting to some kind of data repository. This simple step is normally executed over the network and given so, it is subject...
背景 在开发我自己的 gofixtures 项目时,项目单测需要用到 MySQL,于是模仿 go-txdb 的方式,使用 docker 在本地起了 MySQL 容器。执行测试时,出现如下错误: mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 2059...
完成下面两步后,将自动完成登录并继续当前操作。