News for hackers. Stuff that matters.
Re:Show HN: Alan – a low-code application platform by CodesInChaos on Monday October 08, 2018 @11:09AM (#18168129)
It looks like you're using SHA256(username||password) in this example. Even if it's only an example, why use a homebrew password hashing scheme based on an unsuitable hash function and bad ad-hoc salt handling, instead of a strong standard password hash with built in salt handling? And what code/specification is required to use a secure algorithm, like bcrypt with a random salt?

People often copy from such tutorials and will then end up with insecure password storage.

Re:Show HN: Alan – a low-code application platform by byproxy on Tuesday October 09, 2018 @12:32PM (#18177368)
As someone who's not a developer but still occasionally looks through these "build an app" tutorials, password/authentication portions always worry me. I wish I could know that best-practices were shown as far as storing/encrypting user data/passwords.