Data Encryption with Pycryptodome & AES

preview_player
Показать описание
💻 Don't forget to Subscribe!
------
In this video, we will learn how to code in Python by using the Pycryptodome encryption libraries.

Pycryptodome is a fork, or an evolution of Pycrypto, an earlier encryption library for python. Pycrypto is no longer in development and had some reported security issues, but you can check out my previous video on it if you are still curious

Pycryptodome brings several security enhancements to the Pycrypto library and, in our example, we are going to use it with AES or Advanced Encryption Standard (AES) cipher to encrypt text.

AES, of course, is only one of the ciphers that work with Pycryptodome – the libraries also works with legacy ciphers such as Triple DES and Blowfish. You can also use RSA for public key or Asymmetric encryption. And I’ll be doing videos on that shortly.

AES, however, is a very fast and secure for symmetric encryption.
AES is a 128-bit block cipher with key lengths of 128, 192 or 256 bits, depending on how paranoid you are with your encryption.
We’ll learn what these terms actually mean before jumping in to the code.

This overview should be helpful in understanding block ciphers, even if you are not going to write Python code.
Рекомендации по теме
Комментарии
Автор

This video is excellent for someone, such as myself, trying to learn how to use pycryptodome

mattstrummer
Автор

Thank you a lot for this video, i really struggled to find any documentation or guide on PyCryptoDome, it's also very well explained, and you have a nice voice, thank you a lot!

koa
Автор

This is a very convenient video, as I only recently began writing programs using the PyCryptodome library. Thank you.

WorldDstroyer
Автор

Nice video! Please do a tutorial on RSA with pycryptodome!

jelle
Автор

Very helpful video.
When Iam using online aes encryption tool it is giving different ciphertext. May be IV we used here is random and not specified in program. One doubt sir if we give IV constant we can get same answer as online encryption tools.

sumalatha
Автор

Thank for the video. thank for the video. So helpfull 🙏🏾

pascalsimo
Автор

Hey would this be a reasonable way to encrypt data sent using python sockets. I’m interested in making a more secure chat server using encryption and the only problem I see with this in that application is at the start of the program you would need to send the key and the IV which has a chance on interception comprising the whole system

caelim
Автор

What will happen, if someone tries to decrypt the encrypted file with an incorrect key? I think this scenario if you could also cover like how to validate the key as we shouldn't store the key even in encrypted file! Could you pls share your thoughts on this.

mylearninghub
Автор

how would we get it if mysecretpassword was a variable and we wanted to store it from input() ? you cant put the b in the b'<key password>' in front of a variable...

happinin
Автор

Hi, I like your videos.I trying to make an encryption program in CBC, but it doesn't decrypt files, could you help me please

joe-joe
Автор

could you do eciespy? I want to use ECC but pycryptodome only uses NIST standard ECC's which are garbage.

BitCloud
Автор

Thank you so much but could you make a video on GCM mode in AES please

xtechnopro
Автор

Can you provide the link of image that u use in the video

pragatisingh
Автор

hi, can you please shaw me haw to encrypte as AES 256 bits, thanks

kaderali
Автор

do you have sample of encrypting a data files ?

jeffreytagoc
Автор

please i want to connect with you via email, may i?

elhamali