Better HN
topnewbestaskshowjobs
Log inSign up

throwaway-9111

1 karma · joined Feb 5, 2025 (1y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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