Simulating Brute Force Attacks on Vigenère and AES Ciphers in Python: Measuring Key Size Impact on Security

The security of modern digital communications depends heavily on the robustness of cryptographic algorithms against brute force attacks. This study investigates the impact of key size on the brute force resistance of two representative symmetric ciphers: the classical Vigenère cipher and the Advanced Encryption Standard (AES). Using Python, the research implements a systematic simulation that incrementally increases key sizes and measures the corresponding computational effort required to recover plaintext through exhaustive key search. The simulation spans key lengths of 2–5 characters for Vigenère and 12–20 bits for AES (with reduced keyspace for feasibility), recording both the average time and the number of attempts needed to break each cipher. Results show an exponential growth in attack effort with increasing key size for both algorithms: even modest increments in key length yield orders-of-magnitude improvements in brute force resistance. These findings provide concrete, empirical evidence supporting cryptographic best practices that mandate adequate key lengths for secure communications. The study underscores the continued relevance of key size as a fundamental defense mechanism in both legacy and modern symmetric encryption systems, offering valuable insights for security practitioners and educators alike.

Authors

Publication Details

Journal
International Journal For Multidisciplinary Research
Published
2025-06-19
DOI
https://doi.org/10.36948/ijfmr.2025.v07i03.48532
Primary Topic
Cryptographic Implementations and Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Simulating Brute Force Attacks on Vigenère and AES Ciphers in Python: Measuring Key Size Impact on Security

Virgilio Tuga, Lloyd Vincent Cubero
International Journal For Multidisciplinary Research
Cryptographic Implementations and Security
article

Simulating Brute Force Attacks on Vigenère and AES Ciphers in Python: Measuring Key Size Impact on Security

Virgilio Tuga, Lloyd Vincent Cubero
article en

Abstract

The security of modern digital communications depends heavily on the robustness of cryptographic algorithms against brute force attacks. This study investigates the impact of key size on the brute force resistance of two representative symmetric ciphers: the classical Vigenère cipher and the Advanced Encryption Standard (AES). Using Python, the research implements a systematic simulation that incrementally increases key sizes and measures the corresponding computational effort required to recover plaintext through exhaustive key search. The simulation spans key lengths of 2–5 characters for Vigenère and 12–20 bits for AES (with reduced keyspace for feasibility), recording both the average time and the number of attempts needed to break each cipher. Results show an exponential growth in attack effort with increasing key size for both algorithms: even modest increments in key length yield orders-of-magnitude improvements in brute force resistance. These findings provide concrete, empirical evidence supporting cryptographic best practices that mandate adequate key lengths for secure communications. The study underscores the continued relevance of key size as a fundamental defense mechanism in both legacy and modern symmetric encryption systems, offering valuable insights for security practitioners and educators alike.

International Journal For Multidisciplinary ResearchVol. 7(3)
Openalex Percentile: Top 93%
Cryptographic Implementations and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Simulating Brute Force Attacks on Vigenère and AES Ciphers in Python: Measuring Key Size Impact on Security — Virgilio Tuga, Lloyd Vincent Cubero · International Journal For Multidisciplinary Research (2025) | TGRS Research Map | TGRS