Damiano97 Posted July 16, 2017 Share Posted July 16, 2017 Hi, I have a question: how does the password obtained with the md5 function using the cookie key followed by the password do not match the present db in prestashop 1.7.1.2? thank you so much Link to comment Share on other sites More sharing options...
bellini13 Posted July 17, 2017 Share Posted July 17, 2017 the value in the database is encrypted using either bcrypt or md5 So while the value is the password and the cookie key, that is not stored in plain clear text in the database. It is encrypted first using a one way encryption, so that anyone with access to your database would not be able to see the actual password. Link to comment Share on other sites More sharing options...
MIchel Conrado Posted July 19, 2017 Share Posted July 19, 2017 Hi there! One question! I'm working on a little project that involves prestashop 1.7 and Node.JS . The question is, can I use the bcrypt-nodejs to generate and verify prestashops passwords? https://www.npmjs.com/package/bcrypt-nodejs Like: const COOKIEKEY = env.config.COOKIEKEY; var hash = bcrypt.hashSync("COOKIEKEY"); Thank you! best regards! Link to comment Share on other sites More sharing options...
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