Follow
Subscribe via Email!

Enter your email address to subscribe to this platform and receive notifications of new posts by email.

RSA Vs AES: How Symmetric Encryption Works and Resists Attacks

AES is NIST’s symmetric block cipher standard from 2001, using 128-bit blocks and 128-, 192-, or 256-bit keys over 10 to 14 rounds to protect data quickly and resist practical attacks.
A 3D isometric diagram illustrating an AES encryption round with colored lines connecting state cubes and bars.

Discussions of RSA vs AES come down to a split between asymmetric and symmetric encipherment, where the Advanced Encryption Standard (AES) relies on a single shared key for both locking and unlocking data [5][13]. Established by the U.S. National Institute of Standards and Technology (NIST) in FIPS PUB 197 on November 26, 2001, AES applies the Belgian Rijndael block cipher to fixed 128-bit data blocks using 128-, 192-, or 256-bit keys [1][5]. That design gave federal agencies and private software a royalty-free, unclassified algorithm built to outlast aging 56-bit ciphers [1][6]. By 2020, NIST’s Cryptographic Algorithm Validation Program (CAVP) had validated more than 5,700 AES implementations [1].

How RSA vs AES Encryption Differs

In any RSA vs AES comparison, the defining line separates symmetric-key systems from asymmetric ones [5][13]. AES is a symmetric-key cipher, meaning the sender and receiver share the exact same key to turn readable plaintext into ciphertext and restore it afterward. Every input block is arranged as a 4 × 4 column-major array of 16 bytes called the state, which goes through repeated rounds of substitution and byte mixing [5].

Public debates over asymmetric cryptography often center on whether new computing systems could threaten public-key schemes, a subject examined in Scott Aaronson’s clarification of RSA encryption rumors from AI labs. When NIST opened its search for a symmetric federal standard on January 2, 1997, officials asked for an “unclassified, publicly disclosed encryption algorithm” available royalty-free worldwide [1][3]. NIST’s Computer Security Division wanted a cipher capable of protecting sensitive federal data well into the 21st century while allowing private organizations to adopt it voluntarily [1].

Everyday banking and retail systems already leaned on symmetric encryption long before FIPS 197 took effect. Automated teller machines encrypt secret personal identification numbers before checking card records, and online stores encrypt credit card numbers whenever customers place an order [2].

Why AES Replaced Legacy DES

Why AES is better than DES becomes clear from the limits of the Data Encryption Standard, which NIST adopted in 1977 [2][6]. DES used a 56-bit key that had grown vulnerable to brute-force searches by the late 1990s [4]. Engineers had also tuned DES for custom hardware, so software versions ran sluggishly on general-purpose computers [6].

Some teams tried stretching DES by encrypting data twice with two 56-bit keys, assuming that would deliver 112-bit security. A meet-in-the-middle attack breaks that assumption. An attacker with a single known plaintext-ciphertext pair can test all 2 to the power of 56 keys from both ends until intermediate outputs match, cutting the search to roughly 2 to the power of 57 operations. Triple DES fixed the short key by running DES three times, but it stayed slow even in hardware, strained limited-memory devices, and kept a small 64-bit block size [4][6].

NIST’s 1997 call fixed both weaknesses by requiring 128-bit blocks and keys of 128, 192, or 256 bits [1]. A 128-bit key creates roughly 340 followed by 36 zeros in possible keys [2]. Every extra bit in key length doubles the average brute-force workload, and distributed.net proved how exposed shorter keys were by cracking a 64-bit RC5 key in 2006 [5].

Official National Institute of Standards and Technology mark for RSA vs AES and federal encryption standards.
Emblem of NIST, the agency that selected Rijndael as the Advanced Encryption Standard. (Credit: National Institute of Standards and Technology)

The NIST Competition for Rijndael

Rather than writing a closed standard, NIST ran an open global contest from 1997 to 2000 that earned praise from cryptographers who suspected hidden backdoors in DES [6]. After the formal call on September 12, 1997, researchers from 12 countries submitted 15 candidate block ciphers [1][2]. Those 15 entries were CAST-256, CRYPTON, DEAL, DFC, E2, FROG, HPC, LOKI97, MAGENTA, MARS, RC6, Rijndael, SAFER+, Serpent, and Twofish, at a time when 128-bit block designs like Square were still rare [6].

NIST held the First AES Candidate Conference (AES1) in August 1998 in Ventura, California, and the Second AES Candidate Conference (AES2) in March 1999 in Rome, Italy, to evaluate cryptanalysis and smart-card performance [1]. At AES2, RC6 drew 79 positive and 6 negative votes while Rijndael drew 77 positive and 1 negative vote, while LOKI97 and FROG each received 86 negative votes [6]. NIST narrowed the field to five finalists—MARS, RC6, Rijndael, Serpent, and Twofish—documented in its 1999 Round 1 report [1][7]. At AES3 in New York in April 2000, Rijndael led with 86 positive votes against 10 negative [1][6].

Belgian cryptographers Joan Daemen of Proton World International and Vincent Rijmen of Katholieke Universiteit Leuven built Rijndael, which U.S. Secretary of Commerce Norman Y. Mineta announced as the winner on October 2, 2000, calling it “a critical computer security tool” [2][8]. Following a Federal Register notice on February 28, 2001, NIST issued FIPS 197 in November 2001, and Secretary of Commerce Donald Evans made it effective on May 26, 2002 [1][5]. Twofish co-author Bruce Schneier wrote afterward that he had “nothing but good things to say about NIST” [6].

Key Lengths and Round Counts

How AES encryption works rests on a substitution-permutation network, unlike the Feistel network used inside DES. Although the full Rijndael family accepts any block and key size in 32-bit steps from 128 to 256 bits, NIST fixed AES at 128-bit blocks [5]. That choice kept the internal 4 × 4 byte state uniform across software and hardware targets [2][5].

Key size governs how many rounds transform the state: AES runs 10 rounds for a 128-bit key, 12 rounds for 192 bits, and 14 rounds when configured with 256 bits. Before round processing starts, the KeyExpansion routine derives one 128-bit round key for each round plus one extra block. An initial AddRoundKey step then combines each byte of the plaintext state with the first round key through bitwise exclusive OR (XOR) [5].

Standard rounds run four operations in sequence—SubBytes, ShiftRows, MixColumns, and AddRoundKey—before the final round omits MixColumns. Decryption reverses those transformations with the same symmetric key [5]. In a 2021 retrospective in the Journal of Research of the National Institute of Standards and Technology, former Security Technology Group leader and Computer Security Division acting director M. E. Smid noted that FIPS 197 resolved hard engineering problems through cooperation among U.S. government agencies, companies, and universities [9].

Security header artwork from 1Password for its report on Advanced Encryption Standard safety.
Header illustration published by 1Password for its review of biclique cryptanalysis on AES. (Credit: 1Password)

SubBytes, ShiftRows, and MixColumns

During SubBytes, each byte in the state array is replaced using an 8-bit substitution box, or S-box, built from the multiplicative inverse over finite field GF(2^8) combined with an invertible affine transformation. That pairing gives AES nonlinearity so attackers can’t exploit simple algebraic patterns, and it ensures no byte maps to itself or its bitwise complement. Decryption executes InvSubBytes by reversing the affine transformation before taking the multiplicative inverse [5].

ShiftRows and MixColumns spread byte changes through the full 16-byte state so columns never stay isolated. ShiftRows leaves the top row unchanged and shifts rows two, three, and four left by one, two, and three bytes. Without that shift, AES would degrade into four separate column ciphers. MixColumns treats each column as a polynomial over GF(2^8) and multiplies it modulo x^8 + x^4 + x^3 + x + 1 against a fixed MDS matrix, so every input byte affects all four output bytes [5].

Software running on 32-bit or wider processors can combine SubBytes, ShiftRows, and MixColumns into precomputed lookup tables. Four 256-entry 32-bit tables occupy 4,096 bytes and reduce each round to 16 table lookups and 12 XOR steps before AddRoundKey. A single 1,024-byte table paired with circular bit rotations shrinks memory overhead even further [5].

Can AES 256 Be Cracked?

Whether AES-256 can be cracked depends on the gap between academic definitions and physical limits [4][5]. In cryptography, any attack faster than checking every key in sequence counts as a “break,” even when it takes impossible resources [4]. In 2002, Nicolas Courtois and Josef Pieprzyk proposed the theoretical XSL attack on AES, but later research proved it unworkable [5].

In August 2011, Andrey Bogdanov, Dmitry Khovratovich, and Christian Rechberger published a meet-in-the-middle attack using structures called bicliques while visiting Microsoft Research. As 1Password security writer Jeffrey Goldberg explained, their attack trimmed the effort on AES-128 by roughly a two-bit gain, leaving the cipher as hard to break as a 126-bit key rather than 128 bits. Running that attack would also demand storing roughly 38 trillion terabytes of data—more than all the data stored on all computers on Earth—with huge volumes of known plaintext and ciphertext. Bogdanov told The Inquirer that on a trillion machines testing a billion keys per second each, recovering an AES-128 key would still take more than two billion years, adding “the attack has no practical implications” [4].

International standards bodies and U.S. intelligence agencies continue to back the cipher. AES belongs to ISO/IEC 18033-3, and in June 2003 the National Security Agency (NSA) cleared all three key lengths to “protect classified information up to the SECRET level,” while requiring 192 or 256 bits for TOP SECRET data. Newer NSA policy restricts classified systems to 256-bit keys [5].

1Password diagram showing a meet-in-the-middle attack matching plaintext and ciphertext intermediates.
Diagram from 1Password illustrating how a meet-in-the-middle attack halves double-DES key strength. (Credit: 1Password)

Hardware Acceleration for RSA vs AES Workloads

In RSA vs AES architecture planning, symmetric bulk encryption benefits from direct silicon support built into modern computer chips. Processors ship with hardware AES New Instructions (AES-NI) so software like 1Password and Knox for Mac can run AES quickly without taxing the CPU [4][14]. Federal agencies track implementation risks outside cipher math too, as reflected in CISA advisories on SharePoint, WSO2, and Adobe Commerce flaws.

Graphics processors push symmetric throughput even further when parallel threads avoid memory stalls. In a 2021 IEEE Access study, C. Tezcan removed shared-memory bank conflicts on GPUs to achieve 878.6 Gbps for AES-128 on an RTX 2070 Super, or 4.1 Gbps per Watt. That optimization produced more than a 2.56x speedup over earlier GPU benchmarks and beat CPUs running AES-NI as well as legacy FPGA clusters such as COPACOBANA and RIVYERA [14].

Tezcan also benchmarked AES-256 on a low-end MX 250 GPU and measured 60.0 Gbps, outstripping normal solid-state drive read and write speeds. Upgrading from AES-128 to AES-256 on GPU coprocessors removes visible speed penalties during file or full-disk encryption [14].

Quantum Benchmarks Around RSA vs AES Security

Academic studies test both key-dependent AES tweaks and how symmetric benchmarks fit inside broader RSA vs AES security planning [10]. In a 2019 Symmetry paper, O. C. Abikoye, A. H. Dokoro, A. Abubakar, N. O. Akande, and E. O. Asani modified SubBytes to depend on the round key and randomized ShiftRows. Tested on 16, 32, 64, and 128 plaintext bytes, their design lifted the avalanche effect from 50.78% to 57.81% [11].

Two newer studies built key-driven cipher variants without discarding AES structure [12][13]. In 2021, A. Altigani, S. Hasan, B. I. A. Barry, S. Naserelden, M. A. Elsadig, and H. T. I. Elshoush introduced a polymorphic cipher, P-AES, where SubBytes, ShiftRows, and MixColumns change with every key while obeying Kerckhoffs’s principle and encrypting 500 bytes in 71 milliseconds versus 70 milliseconds for AES [12]. In 2023, Y. Alemami, M. A. Mohamed, and S. Atiewi proposed OAES, which pairs a chaotic sine map with random matrix multiplication and a random S-box [13].

Quantum standardization efforts at NIST also use AES-128, AES-192, and AES-256 attack costs to define postquantum security categories. In 2020, B. Langenberg, H. Pham, and R. Steinwandt reported in IEEE Transactions on Quantum Engineering that new S-box and key-expansion circuits cut Toffoli gate counts for AES-128 by more than 88% compared with estimates by Almazrooie et al. and Grassl et al., simplifying Grover-based key search models [10].

Sources
  1. WEBSITE National Institute of Standards and Technology. (2016, December 29). AES Development – Cryptographic Standards and Guidelines. National Institute of Standards and Technology. [Article Link]
  2. PRESS RELEASE National Institute of Standards and Technology. (2000, October 2). Commerce Department Announces Winner of Global Information Security Competition. National Institute of Standards and Technology. [Article Link]
  3. WEBSITE National Institute of Standards and Technology. (1997, December 9). Requesting Candidate Algorithm Nominations for AES. National Institute of Standards and Technology. [Article Link]
  4. WEBSITE Goldberg, J. (2011, August 18). AES Encryption isn’t Cracked. 1Password. [Article Link]
  5. WEBSITE Wikipedia. (n.d.). Advanced Encryption Standard. Wikipedia. [Article Link]
  6. WEBSITE Wikipedia. (n.d.). Advanced Encryption Standard process. Wikipedia. [Article Link]
  7. ACADEMIC JOURNAL Nechvatal, J., Barker, E., Dodson, D., Dworkin, M., Foti, J., & Roback, E. (1999). Status report on the first round of the development of the advanced encryption standard. Journal of Research of the National Institute of Standards and Technology, 104(5), 435. [Article Link]
  8. ACADEMIC JOURNAL Nechvatal, J., Barker, E., Bassham, L., Burr, W., Dworkin, M., Foti, J., & Roback, E. (2001). Report on the development of the Advanced Encryption Standard (AES). Journal of Research of the National Institute of Standards and Technology, 106(3), 511. [Article Link]
  9. ACADEMIC JOURNAL Smid, M. E. (2021). Development of the Advanced Encryption Standard. Journal of Research of the National Institute of Standards and Technology, 126, 126024-126024. [Article Link]
  10. ACADEMIC JOURNAL Langenberg, B., Pham, H., & Steinwandt, R. (2020). Reducing the Cost of Implementing the Advanced Encryption Standard as a Quantum Circuit. IEEE Transactions on Quantum Engineering, 1, 1-12. [Article Link]
  11. ACADEMIC JOURNAL Abikoye, O. C., Dokoro, A. H., Abubakar, A., Akande, N. O., & Asani, E. O. (2019). Modified Advanced Encryption Standard Algorithm for Information Security. Symmetry, 11(12), 1484-1484. [Article Link]
  12. ACADEMIC JOURNAL Altigani, A., Hasan, S., Barry, B. I. A., Naserelden, S., Elsadig, M. A., & Elshoush, H. T. I. (2021). A Polymorphic Advanced Encryption Standard – A Novel Approach. IEEE Access, 9, 20191-20207. [Article Link]
  13. ACADEMIC JOURNAL Alemami, Y., Mohamed, M. A., & Atiewi, S. (2023). Advanced approach for encryption using advanced encryption standard with chaotic map. International Journal of Electrical and Computer Engineering, 13(2), 1708-1708. [Article Link]
  14. ACADEMIC JOURNAL Tezcan, C. (2021). Optimization of Advanced Encryption Standard on Graphics Processing Units. IEEE Access, 9, 67315-67326. [Article Link]

Cover image: Michel Bakni / Wikimedia Commons, Public domain

Leave a Comment

Related Posts
Total
0
Share