mongodb - Migrating customer logins with encrypted passwords -
i have lot of accounts older version of website need migrate new version. passwords encrypted bcrypt , don't know salt was, library, or that. have data database. best way allow people still use accounts? 1 thought first time try login, send them email getting them update password. other thoughts appreciated. project running on mean stack if matters.
update:
is there chance work? tried account knew password for, , seems work. bcrypt magic unaware of?
so reading following question's answer learned how bcrypt works , since using same algorithm ie. "2a" , same power ie. "10" works since salt stored in data. got 2 of passwords accounts, , tested them. both worked perfectly.
Comments
Post a Comment