bcrypt or MD5 (prestashop + Node.JS)

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.co...e/bcrypt-nodejs

Like: const COOKIEKEY = env.config.COOKIEKEY;

var hash = bcrypt.hashSync("COOKIEKEY");

Thank you! best regards!