Password auth in Rust, from scratch – Attacks and best practices | A learning journal

Password authentication is seen as the simplest auth method, but there are plenty of pitfalls along the way. We will implement Basic auth from scratch, examining several classes of attacks against our API – and how to counter them.