3 ms·
Another option is just hashing the current hash, ie., if you have sha1(pass), you can apply bcrypt and store bcrypt(sha1(pass)). Possibly add a per-user flag to
by icebraining 10y ago
Another option is just hashing the current hash, ie., if you have sha1(pass), you can apply bcrypt and store bcrypt(sha1(pass)). Possibly add a per-user flag to indicate this was done, which can be cleared after the user logs in the next time and you can store simply bcrypt(pass).