News for hackers. Stuff that matters.

throwaway-9111

Re:Okta Bcrypt incident lessons for designing better APIs on Thursday February 06, 2025 @02:43AM (#42960067)
Why not a simple 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

In that case you can use the lombok @SneakyThrows annotation that converts a checked exception to a runtime exception