16
but surely then >
Quote:
encrypted_password = md5(secret_key . md5(cleartext_password))
would be enough then if he just grabs the key from the password key from the db without knowing the secret key.
even if he uses rainbow then, he may get a result with some keystrings that may produce that same md5 hash.. but in essence the users password would not be known because that whole md5 key is not a md5 hash of password.. it's an md5 hash of secret key + md5 pw..
maybe you could even md5 the secret key add it to the md5 pw and then md5 the result yet again.
pass = md5(md5(secret key).md5(password))
maybe i'm thinking differently tho & not along the lines of what you're asking (which i do understand) i'm just offering up alternative suggestions.
maybe even openPGP encryption? or key pairs?