← Text & Encoding

Text & Encoding / letter transformations

AES Hex Calculator

Encrypt and decrypt hex data with a 128, 192, or 256-bit AES key in ECB mode, with every SubBytes, ShiftRows, MixColumns, and AddRoundKey step shown.

Answer first

How do I use a AES hex encryption and decryption calculator?

Encrypt and decrypt hex data with a 128, 192, or 256-bit AES key in ECB mode, with every SubBytes, ShiftRows, MixColumns, and AddRoundKey step shown. Enter the known values and inspect the result immediately. For example, Encrypt hex block 00112233445566778899aabbccddeeff with the FIPS-197 test key 000102030405060708090a0b0c0d0e0f to get 69c4e0d86a7b0430d8cdb78070b4c55a. Use the output to check your reasoning or shortlist a design, then verify the units, assumptions, and real-world limits that apply.

AES-128

Round-by-round state (first block)

Every SubBytes, ShiftRows, MixColumns, and AddRoundKey transformation applied to the first 16-byte block.

Round 0: AddRoundKey
00102030405060708090a0b0c0d0e0f0
Round 1: SubBytes
63cab7040953d051cd60e0e7ba70e18c
Round 1: ShiftRows
6353e08c0960e104cd70b751bacad0e7
Round 1: MixColumns
5f72641557f5bc92f7be3b291db9f91a
Round 1: AddRoundKey
89d810e8855ace682d1843d8cb128fe4
Round 2: SubBytes
a761ca9b97be8b45d8ad1a611fc97369
Round 2: ShiftRows
a7be1a6997ad739bd8c9ca451f618b61
Round 2: MixColumns
ff87968431d86a51645151fa773ad009
Round 2: AddRoundKey
4915598f55e5d7a0daca94fa1f0a63f7
Round 3: SubBytes
3b59cb73fcd90ee05774222dc067fb68
Round 3: ShiftRows
3bd92268fc74fb735767cbe0c0590e2d
Round 3: MixColumns
4c9c1e66f771f0762c3f868e534df256
Round 3: AddRoundKey
fa636a2825b339c940668a3157244d17
Round 4: SubBytes
2dfb02343f6d12dd09337ec75b36e3f0
Round 4: ShiftRows
2d6d7ef03f33e334093602dd5bfb12c7
Round 4: MixColumns
6385b79ffc538df997be478e7547d691
Round 4: AddRoundKey
247240236966b3fa6ed2753288425b6c
Round 5: SubBytes
36400926f9336d2d9fb59d23c42c3950
Round 5: ShiftRows
36339d50f9b539269f2c092dc4406d23
Round 5: MixColumns
f4bcd45432e554d075f1d6c51dd03b3c
Round 5: AddRoundKey
c81677bc9b7ac93b25027992b0261996
Round 6: SubBytes
e847f56514dadde23f77b64fe7f7d490
Round 6: ShiftRows
e8dab6901477d4653ff7f5e2e747dd4f
Round 6: MixColumns
9816ee7400f87f556b2c049c8e5ad036
Round 6: AddRoundKey
c62fe109f75eedc3cc79395d84f9cf5d
Round 7: SubBytes
b415f8016858552e4bb6124c5f998a4c
Round 7: ShiftRows
b458124c68b68a014b99f82e5f15554c
Round 7: MixColumns
c57e1c159a9bd286f05f4be098c63439
Round 7: AddRoundKey
d1876c0f79c4300ab45594add66ff41f
Round 8: SubBytes
3e175076b61c04678dfc2295f6a8bfc0
Round 8: ShiftRows
3e1c22c0b6fcbf768da85067f6170495
Round 8: MixColumns
baa03de7a1f9b56ed5512cba5f414d23
Round 8: AddRoundKey
fde3bad205e5d0d73547964ef1fe37f1
Round 9: SubBytes
5411f4b56bd9700e96a0902fa1bb9aa1
Round 9: ShiftRows
54d990a16ba09ab596bbf40ea111702f
Round 9: MixColumns
e9f74eec023020f61bf2ccf2353c21c7
Round 9: AddRoundKey
bd6e7c3df2b5779e0b61216e8b10b689
Round 10: SubBytes
7a9f102789d5f50b2beffd9f3dca4ea7
Round 10: ShiftRows
7ad5fda789ef4e272bca100b3d9ff59f
Round 10: AddRoundKey
69c4e0d86a7b0430d8cdb78070b4c55a

AES (Advanced Encryption Standard)

AES encrypts 16-byte blocks with a key of 128, 192, or 256 bits, running 10, 12, or 14 rounds of SubBytes (a fixed non-linear substitution), ShiftRows (cyclic row shifts), MixColumns (a linear mix within each column), and AddRoundKey (XOR with a key derived for that round). Decryption runs the inverse steps in reverse order.

This is a from-scratch, unaudited AES implementation for learning ECB-mode block mechanics, not a cryptographic library. Do not use it to protect real secrets - use a vetted library (Web Crypto, OpenSSL) for anything that matters, and never use ECB mode in production (it leaks patterns between identical blocks).

Design guide

Use the result with engineering context

Technical content reviewed

When this tool is useful

  • Solving a AES hex encryption and decryption calculator task without repeating the arithmetic by hand
  • Changing one input at a time to understand how it affects the result

What the result includes

  • A result calculated from the values and units you enter
  • A concrete reference case: Encrypt hex block 00112233445566778899aabbccddeeff with the FIPS-197 test key 000102030405060708090a0b0c0d0e0f to get 69c4e0d86a7b0430d8cdb78070b4c55a.

What the model does not guarantee

  • The result depends on the selected width, alphabet, encoding, and input format
  • Encoding and number conversion do not provide encryption, authentication, or protection for sensitive data

Worked approach

Try a concrete set of values

Encrypt hex block 00112233445566778899aabbccddeeff with the FIPS-197 test key 000102030405060708090a0b0c0d0e0f to get 69c4e0d86a7b0430d8cdb78070b4c55a. Change one input at a time, confirm the units, and compare the result with an independent calculation or relevant datasheet.

Common decisions

Questions engineers ask

What should I enter in the AES Hex Calculator?

Use known values in the units shown beside each field. Keep every input within a realistic range and convert units before comparing the result with another source.

Can I use the AES Hex Calculator result directly?

Encoding and number conversion do not provide encryption, authentication, or protection for sensitive data

How should I verify the AES Hex Calculator result?

Repeat the worked example, check the units and assumptions, then compare the output with a second calculation, a trusted reference, or a measurement from the real system.

Related build evidence

FireWire Enterprise OTA

See how data formats, device identity, firmware versions, and controlled updates fit into a real embedded platform.

See the project

Apply it to real hardware

Need the calculation connected to a working prototype?

Share the requirements, inputs, hardware limits, expected output, and how the result will be tested in the complete system.

Discuss the system