Skip to main content
1 of 2
Oleksi
  • 4.9k
  • 2
  • 22
  • 26

I would use bcrypt as the new hash. Otherwise, your solution of "wrapping" the old hashes should be secure, given that you use a good salt for for bcrypt. I've seen this solution work well a few times when systems want to upgrade how they hash their passwords.

Oleksi
  • 4.9k
  • 2
  • 22
  • 26