I'm trying to perform an authentication from an app against the Prestashop webservice. I already have access to the webservice and I have access to the emails and encrypted passwords of the custommers.
My problem is that assuming that the password is 123456, I do not know how to encrypt it to compare it with the encrypted prestashop.
I have searched and read in many post that the way to do it is using md5 (cookierkey_ + password)
I have tried it that way but the result it gives me is not like anything that is saved bbdd prestashop.
the function of md5 returns something like: f01e5b4d319dba0b6d41ec601d7720fd
but the encryption format in bbdd is something like:
$2y$10$36OeM33DN5zqrKWMnXqgz.RDzVorpZDl3do3UaRuhwDhlXsOh.jwO
It is not an encrypted format of type MD5.
Can somebody help me? Is Thirty Bees modifying / adding an additional encryption because md5 is no longer secure?
Question
radell
Hello everyone,
I'm trying to perform an authentication from an app against the Prestashop webservice. I already have access to the webservice and I have access to the emails and encrypted passwords of the custommers.
My problem is that assuming that the password is 123456, I do not know how to encrypt it to compare it with the encrypted prestashop.
I have searched and read in many post that the way to do it is using md5 (cookierkey_ + password) I have tried it that way but the result it gives me is not like anything that is saved bbdd prestashop.
the function of md5 returns something like: f01e5b4d319dba0b6d41ec601d7720fd but the encryption format in bbdd is something like: $2y$10$36OeM33DN5zqrKWMnXqgz.RDzVorpZDl3do3UaRuhwDhlXsOh.jwO It is not an encrypted format of type MD5.
Can somebody help me? Is Thirty Bees modifying / adding an additional encryption because md5 is no longer secure?
Thank you very much
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now