Parse-sdk-js: Need algorithm used to calculate crypt passwords

Created on 31 Mar 2016  路  3Comments  路  Source: parse-community/Parse-SDK-JS

After exporting the data from parse I need a way to handle login in my replacement API. This is only possible if I can reproduce how the passwords are encrypted otherwise users won't be able to log in!

Most helpful comment

It's a standard Bcrypt hash. This code from parse-server shows how it's generated / compared: https://github.com/ParsePlatform/parse-server/blob/master/src/password.js

All 3 comments

The classic Parse platform uses Bcrypt, as does the open source parse-server.

That said, this is not an issue related to the JS SDK in any way, so I'm closing this out.

Please can you direct me to the appropriate channel. Just knowing it uses crypt is not sufficient and without this knowledge porting data from the Parse platform is pointless.

It's a standard Bcrypt hash. This code from parse-server shows how it's generated / compared: https://github.com/ParsePlatform/parse-server/blob/master/src/password.js

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oallouch picture oallouch  路  4Comments

adrianchifor picture adrianchifor  路  3Comments

dylankbuckley picture dylankbuckley  路  4Comments

Gyran picture Gyran  路  5Comments

simpleshadow picture simpleshadow  路  6Comments