#Password encryption

6 messages · Page 1 of 1 (latest)

winged osprey
#

Hello everyone!

I am migrating a system with thousands of users to the new MedusaJS platform. This will be done by a process that will extract the data from the old DB, transform that data to the new structure and perform massive inserts directly to the medusaJS DB.

But for speed and testing reasons, we do not want to do it via API. I know it may not be the best practice, please forgive me!

The specific question is: how do I encrypt the password? At the moment I don't know which algorithm medusaJS uses to do it.

marsh prism
#

The question is not what is used by medusa but what is your actual encryption

#

Also in github you can find what is used by medusa

winged osprey
marsh prism
#

Just load all customers and mass trigger password reset

#

And you do not have to deal with the pwd