3 ms·
many cryptographic algorithms are complex I'd dispute that. Aside from multiprecision arithmetic for asymmetric cryptography, which I'll admit uses a fair num
by cperciva 17y ago
many cryptographic algorithms are complex
I'd dispute that. Aside from multiprecision arithmetic for asymmetric cryptography, which I'll admit uses a fair number of lines of code, most cryptographic algorithms are quite small (SHA256 and AES are both well under 200 LoC); and all well-written cryptographic code should be "straight-line" code, i.e., with a cyclomatic complexity of 1.
e.g. developer is not aware of strcpy limitations so uses it regardless
Nothing will save you from developers who blindly use functions without knowing what they do. I was writing for the benefit of those people who already meet a certain minimum level of competence.