One common complexity requirement for passwords is that they contain at least one uppercase letter, one lowercase letter, one number, and one symbol. In this blog post, we’ll explore what effect that complexity requirement has on the mathematical security provided by a password. Specifically, we’ll calculate how many bits of security a password generated with or without this requirement provides.
Tag: security
Allocating Arrays with calloc(3) Instead of malloc(3)
In this blog post, we’ll explore dynamically allocating memory for an array in C. In particular, we’ll see why the idiom of malloc(3)’ing memory equal to the number of elements in an array multiplied by the size of each element should be avoided, and why calloc(3) should be used instead.
