B
B
BonBon Slick2021-05-02 12:51:48
symfony
BonBon Slick, 2021-05-02 12:51:48

Does the auto-rehash of old algorithms occur for passwords with the parameter algorithm: auto?

https://symfony.com/doc/current/security/password_...

But what about all the passwords for new versions of the framework where the security configs look like this

security:
  encoders:
    App\Domain\User\Entity\User:
      algorithm: auto
      cost: 31


Will the rehash be done automatically? After all, which one it chooses and how it hashes is determined under the hood, and to check whether it is necessary to do a rehash, you need to know the algorithm by which the password is hashed

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question