Pycrypto is a collection of cryptographic modules for Python. It has secure hash functions and symmetric encryption algorithms. It has not been in development for quite some time and it’s kinda getting phased out. However, I think the interest stems from the ability to encrypt files with strong AES encryption using a password.
So that’s exactly what I’ll show you how to do in this video.
If you’re not sure what symmetric encryption is, or where it fits into the whole encryption framework, you can look at my original video on symmetric encryption, which gives a super quick and simple overview
First, we need to install the pycrypto library. This can be a bit tricky to install at times so best to run a pip3 list first to ensure that you do now have other conflicting encryption libraries installed. There are some know issues with Pycrypto and Pycryptodome for instance so that’s one you may need to remove if present.
The install is straightforward. I am using Python 3.8 here. I have it running on 3.6 and 3.7 as well.
Subscribe: https://www.youtube.com/c/PythonsPracticalSolutionsByPaulMahon/featured
#python