Skip to content

Code examples from Jean-Philippe Aumasson's "Serious Cryptography" book.

Notifications You must be signed in to change notification settings

jelaiw/serious-cryptography-book-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A git repo for working examples from Dr. Aumasson's excellent introductory cryptography book [1].

View or Run Examples

Click on any of the Jupyter notebooks (i.e., the .ipynb files) to view them.

Or interact live with a Jupyter notebook (e.g., re-run cells, change parameters), courtesy of the excellent Binder project [2].

Binder

It can take a minute to spin up JupyterLab on Binder, so be patient.

NOTE: The Jupyter notebooks run with the SageMath kernel (e.g., Listings 10-1 and 10-2) are view-only for now. There is a conda-based SageMath environment for Binder at https://github.com/sagemath/sage-binder-env, but it usually takes a few tries (and a long wait) for me.

Book Errata

See errata/possible_errata.md for possible new errata. Most are typo/formatting errors in the EPUB, but some appear to be in both the PDF and EPUB (seventh printing).

These have been have been cross-checked against the latest online errata (or see cached copy as file name has changed and possibly the contents too) and submitted to the publisher (pending confirmation), but interested parties can check them out here in the meantime.

References

  1. "Serious Crytography: A Practical Introduction to Modern Encryption". Aumasson, Jean-Philippe. No Starch Press, 2018.
  2. "Binder 2.0 - Reproducible, Interactive, Sharable Environments for Science at Scale." Proceedings of the 17th Python in Science Conference, doi://10.25080/Majora-4af1f417-011, 2018.
  3. "Sage Mathematics Software (version 9.6)". Stein, W; et al. The Sage Development Team, 2022, http://www.sagemath.org.

About

Code examples from Jean-Philippe Aumasson's "Serious Cryptography" book.

Resources

Stars

Watchers

Forks