cache_key = sha(sha(id + username) + bcrypt(pass))
Is there any security issues with that? I'm a "newb" in this area, so I'm genuinely curious about the flaws with the naive approach