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.

how can bcrypt have built-in salts?


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -