January 2019
Beginner to intermediate
372 pages
11h 17m
English
Let's implement the AES cipher technique using a Python cryptographic library called PyCryptodome. We will be using the PyCryptodome library throughout this chapter to implement other ciphers and hashing algorithms.
We will use the AES module from Crypto.Cipher package and we will also import a module from Crypto.Random package to generate a random key for AES, as follows:
from Crypto.Cipher import AES from Crypto.Random import get_random_bytes ...
Read now
Unlock full access