Anyone know where can i get access the file, where I can change the salt for generating the password for Customers?

1 Answer 1


The salt is generated individually for each customer. There is no global salt.

It's generated when the password is hashed, in \Magento\Framework\Encryption\Encryptor::getHash(). https://github.com/magento/magento2/blob/develop/lib/internal/Magento/Framework/Encryption/Encryptor.php

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.