Re:How To Safely Store A Password
by yummyfajitas on Tuesday December 14, 2010 @02:49PM
(#2005476)
I'm no expert, but I think you could just convert a database via function composition:
Of course, this will fail horribly if (bcrypt new_work_factor) is somehow an inverse (or partial inverse) of old_hash. It could also fail horribly if (bcrypt new_work_factor) maps it's input into a low "rank" (sorry, I'm a mathematician, not a crypto expert) region of old_hash's domain.
[ Parent
| on HN ]