Cryptography with Python 6: Using secure AES-CBC in Python

preview_player
Показать описание

⏰ Timestamps for content in this video ⏰

00:00 Recap of the CBC block cipher mode of operation
01:44 Using AES-CBC in Python
04:04 Demonstrating the security of AES-CBC with Python

🔷🔷 About 🔷🔷

This Fundamental Cryptography in Theory and Python lesson presents, how AES-CBC can be used in Python and demonstrates, why CBC as a block cipher mode of operation is considered a secure mode of operation if implemented and used correctly.

All code demonstrated serves educational purposes only.

📝 Resources used and created for code lessons 📝

Рекомендации по теме
Комментарии
Автор

📝 All resources used and created for code lessons can be found here:

cyrillgossi
Автор

One question over here. I created similiar script where I'm opening text file and encrypting content using AES CBC mode. After encryption I'm able to decrypt file content but within same Python session. When I close Python session and try to decrypt encrypted file content earlier, I'm not able to retrive same content like before encryption. I think it's becuase IV (initialization vector) which is unique for each Python session. Is there any other way to do it while closing Python session after encryption and open new session to decrypt file content and receive human readable data?

radosawberlinski