Password auth in Rust, from scratch – Attacks and best practices

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. Read more


24 days of Rust – static initialization

Static variables are available throughout the entire life of a program. They are allocated in a block of memory known at compile time. Due to that, they tend to represent global state that the program can access. It's getting especially tricky if one stat...

Read more »