Answer the question
In order to leave comments, you need to log in
How does Symfony encrypt the password?
Good afternoon, the task is to transfer users from some Embedded CMS (built on Symfony) to MODX revo.
The password hash + salt and salt is stored in the database.
For example:
Hash - '74376ce738b2225c7bc76303c13e5a30';
Salt - 'bf1c94c2d928e6f368f85768512c5c66';
MODX itself stores passwords with modPBKDF2 encryption.
How to transfer hashes correctly?
Answer the question
In order to leave comments, you need to log in
The algorithm is specified in the file app/config/security.yml
:
security:
encoders:
AppBundle\Entity\User:
algorithm: bcrypt
cost: 12
vendor/symfony/symfony/src/Symfony/Component/Security/Core/Encoder/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question