Home / Series / Chaos Communication Congress / Aired Order / Season 39 / Episode 91

How To Minimize Bugs in Cryptography Code

"Don't roll your own crypto" is an often-repeated aphorism. It's good advice -- but then how does any cryptography get made? Writers of cryptography code like myself write code with bugs just like anyone else, so how do we take precautions against our own mistakes? In this talk, I will give a peek into the cryptographer's toolbox of advanced techniques to avoid bugs: targeted testing, model checking, mathematical proof assistants, information-flow analysis, and more. None of these techniques is a magic silver bullet, but they can help find flaws in reasoning about tricky corner cases in low-level code or prove that higher-level designs are sound, given a defined set of assumptions. We'll go over some examples and try to give a high-level feel for different workflows that create "high-assurance" code. Whether you know it or not, you use this type of cryptography code every day: in your browser, your messaging apps, and your favorite programming language standard libraries.

English
  • Originally Aired December 28, 2025
  • Runtime 40 minutes
  • Production Code 1989
  • Created December 22, 2025 by
    r4m3u5
  • Modified December 29, 2025 by
    r4m3u5