Learn to use cryptography library

jayssj11 (~hackertron)




cryptography is a package which provides cryptographic recipes and primitives to Python developers. Our goal is for it to be your "cryptographic standard library". It supports Python 2.6-2.7, Python 3.3+, and PyPy 2.6+.

cryptography includes both high level recipes, and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests and key derivation functions. For example, to encrypt something with cryptography's high level symmetric encryption recipe .

Why a new crypto library for Python? If you’ve done cryptographic work in Python before, you’ve probably seen some other libraries in Python, such as M2Crypto, PyCrypto, or PyOpenSSL. In building cryptography we wanted to address a few issues we observed in the existing libraries:

Lack of PyPy and Python 3 support. Lack of maintenance. Use of poor implementations of algorithms (i.e. ones with known side-channel attacks). Lack of high level, “Cryptography for humans”, APIs. Absence of algorithms such as AES-GCM and HKDF. Poor introspectability, and thus poor testability. Extremely error prone APIs, and bad defaults.


Must know either python 2.7 or 3 .

Should have a basic understanding of what is cryptography !!

Content URLs:



Speaker Info:

Dealing mostly with online security and web development. Networking is my second name. Fluent in PHP and Python ; decent in C++and JS . Interested in the art of cryptography and sub-related aspects (kleptography, cryptovirology).

Speaker Links:

WikiToLearn desktop client ( GSOC project for KDE ) : https://github.com/hackertron/W2L/

^^^ still in development ^^^^







Section: Security
Type: Talks
Target Audience: Intermediate
Last Updated:

Seems interesting . I will surely attend this one



Can you please provide some concrete examples and problem statements, where you are using this library and the others failed.

Also, Curious to know are you one of the main authors for this library because the abstract is very similar to what the library documentation is : https://cryptography.io/en/latest/

konark modi (~konark)

No , i am not the main author of cryptography library . I just use that library in my work . About the description being similar to documentation , it is quite same because documentation fit my idea and what i want to present at the talk .

Most of my criticism of other Python cryptographic packages has already been stated in Pycon 2014 .

You can see them here : https://lwn.net/Articles/595790/ <- The state of crypto in Python

Talk Video : http://pyvideo.org/video/2583/the-state-of-crypto-in-python

Qualification of package contributors/code

Jarret Raim : Raim is the cloud security product manager for Rackspace

Paul Kehrer : Kehrer is a software developer for Rackspace working on the Barbican key management service for OpenStack

Other contributors : https://github.com/alex

jayssj11 (~hackertron)

Login to add a new comment.