News for hackers. Stuff that matters.
Re:A password hash storage scheme that prevents efficient pa... by devit on Thursday September 17, 2015 @07:09AM (#10232635)
It seems this system uses your scheme, except that instead of getting the key from administrator input, it computes it from the first K passwords it gets using a secret sharing scheme.

The advantage is that the administrator doesn't need to manually intervene, the disadvantage is that you can't verify passwords (in a way that is more secure than just verifying hashes) until you get at least K correct login attempts.

If the goal is only to defend against SQL injection, a much simpler solution is to just put the key outside the database, for instance in the configuration or source of the application.

Re:A password hash storage scheme that prevents efficient pa... by petejansson on Thursday September 17, 2015 @09:34AM (#10233227)
Please don't ever put keys in the source of an application.