Skip to content

tlgs/the-code-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Code Book

This is a code along to Simon Singh's The Code Book (ISBN 978-1-85702-889-8).

Only encryption operations are implemented.

Motivation

  • implement cryptographic primitives using standard Python
  • mess around with pytest/coverage to power a test-first development cycle
  • design a Python package with a sensible API (complete with lightweight documentation)

Development

  • install and setup project with pip install -e .[dev] and pre-commit install
  • run tests with coverage run and inspect results with coverage report
  • generate documentation with pdoc -o docs --no-search codebook

Disclaimer

This project is meant purely as an exercise to absorb the contents of the book. Should not be seen as a reference towards applying any cryptographic technique.