Search code examples
phpencryptionhashsilverstripetwofish

Twofish password encryption in Silverstripe?


is there a way how to use Twofish algorithm to hash passwords in Silverstripe? It doesn't look that it's natively supported.

There is a way how to extend PasswordEncryptor probably.

Thanks!


Solution

  • At the moment the default is Blowfish.

    Up until version 3.0 you could add your own algorithms via register(). Since 3.1 you will need to use the (YAML based) configuration system.