Skip to content

amiralis/pycon2017_crypto_tutorial

Repository files navigation

Applied Modern Cryptography in Python (PyCon 2017)

Amirali Sanatinia

Today we use cryptography in almost everywhere. From surfing the web over https, to working remotely over ssh. Although most developers don't need to implement cryptography primitives, the knowledge and understanding of these building block allows them to better deploy them in their application. In modern crypto we have all the building block to develop secure application. However, we see instances of insecure code everywhere. Most of these vulnerabilities are not because of theoretic shortcomings, but due to bad implementation or a flawed protocol design. Cryptography is a delicate art where nuances matter, and failure to comprehend the subtleties of these building blocks leads to critical vulnerabilities. To add insult to injury most of the resources available are either outdated or wrong, and inarguably, using bad crypto more dangerous than not using it.

Requirements

Setup Instructions

You need to have pip installed. Optinally you can use virtualenv for an isolated installation of libraries instead of globally.

  $ pip3 install jupyter
  $ pip3 install cryptography

Alternatively, if you have the conda package manager, you can run:

$ conda create -n crypto python=3.6 jupyter cryptography
$ source activate crypto
$ jupyter notebook  

Docker Image

You can also use the following commands to run a dockerized version of this tutorial.

  $ docker build -t NAME .
  $ docker run -p 8888:8888 NAME

Replace NAME with a name for this docker image (e.g., crypto)

About

Applied Modern Cryptography in Python (PyCon 2017)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published