0
我在我的新网站做了很多更改。安全::哈希()不返回相同的散列
我只注意到Security :: hash('password',null,true)不会返回与previou版本相同的结果。
我将蛋糕从2.3.1升级到2.3.9,但是我使用的是相同的'Security.salt'
和'Security.cipherSeed'
值。
我可以检查什么?
谢谢!
我在我的新网站做了很多更改。安全::哈希()不返回相同的散列
我只注意到Security :: hash('password',null,true)不会返回与previou版本相同的结果。
我将蛋糕从2.3.1升级到2.3.9,但是我使用的是相同的'Security.salt'
和'Security.cipherSeed'
值。
我可以检查什么?
谢谢!
我在CahePHP 2.3.5 changelog中读到,您不应该使用Security.cipher,因为它已被弃用。 https://github.com/cakephp/cakephp/commit/06e7ba6
尝试尝试其他散列()parametrs比散列( '密码',NULL,真),从文档测试例子:http://book.cakephp.org/2.0/en/core-utility-libraries/security.html#Security::hash