When discussing https://github.com/cdepillabout/password/issues/15 @Vlix noticed, that scrypt probably has the same security issue. Maybe you wanna have a look into it. I‘ll elaborate more if you have any questions.