FILE ENCRYPTION AND DECRYPTION USING THE AES ALGORITHM IN CBC MODE WITH PYTHON
The article considers the implementation of the AES (Advanced Encryption Standard) encryption algorithm in CBC (Cipher Block Chaining) mode using the Python programming language. The relevance of the topic stems from growing risks of data leakage and unauthorized access amid increasing volumes of transmitted and stored information. AES is one of the most secure and widely adopted symmetric encryption algorithms, supporting 128-, 192-, and 256-bit keys, enabling flexible adjustment of security levels based on task requirements. The goal of the work is to develop a program for file encryption and decryption using AES in CBC mode. The program is implemented with the PyQt6 libraries for creating a graphical user interface and Crypto and also hashlib for cryptographic operations. The application features two modes: automatic (with a fixed password) and manual (with user-defined password input). The main stages of the algorithm include password-based key and initialization vector generation based on the password, CBC-mode encryption/decryption, and error handling to ensure program stability. The result is a reliable and user-friendly tool for protecting confidential data, demonstrating the practical applicability of AES in real-world scenarios. The application provides a high level of security through AES and CBC mode, making it resistant to modern cryptographic attacks. The developed solution can be used to safeguard personal and corporate data, as well as to study the principles of cryptographic algorithms.
Authors
- Mariya Georgieva
- Alim Z. Kashezhev
Publication Details
- Journal
- RSUH/RGGU Bulletin Series Information Science Information Security Mathematics
- Published
- 2025-01-01
- DOI
- https://doi.org/10.28995/2686-679x-2025-3-21-35
- Primary Topic
- Chaos-based Image/Signal Encryption
- Type
- article
- Field-Weighted Citation Impact
- 0.00