Silverstepe中的Twofish密码加密


Twofish password encryption in Silverstripe?

有没有一种方法可以在Silverstepe中使用Twofish算法来哈希密码?它看起来并没有得到原生支持。

可能有一种方法可以扩展PasswordEncryptor。

谢谢!

目前默认值为Blowfish。

在3.0之前,您可以通过register()添加自己的算法。由于3.1,您将需要使用(基于YAML的)配置系统。

正如您所说-在_config.php或config.yml 中扩展PasswordEncryptor类和register()