Skip to main content
IoT
PSUT Engineering StudioPrincess Sumaya University for Technology
Student Edition
Cyber Defense StudioIoT Security and PrivacyExperimentsWorkspaces
Home / IoT Security and Privacy / Cryptography Engineering
IoTPSUT IoT Engineering StudioPrincess Sumaya University for Technology · Dr. Mohammad Alja’afreh
CRYPTOGRAPHY ENGINEERING · CR16 · AES
IoT Security and Privacy

AES · MixColumns and inverse

Each column is multiplied over \(\mathrm{GF}(2^{8})\) by circulant matrix with first row [02,03,01,01].

CR16 · Laboratory mentorAsk about the current operation and its intermediate values.
CR16 · Academic orientation

Scope and objectives

Scope of the experiment

MixColumns spreads a change within each column. Its coefficients are field elements, not decimal weights. The inverse coefficient matrix undoes the transformation.

The focus of this experiment is to represent a four-byte AES column and its coefficient matrix. Students then calculate finite-field products and XOR sums for MixColumns, and verify recovery with inverse MixColumns. The Concepts view explains the operation before the practical work; the Simulation view is used to examine reference and changed inputs, not to substitute for actual measurements.

Learning objectives

  • Represent a four-byte AES column and its coefficient matrix.
  • Calculate finite-field products and XOR sums for MixColumns.
  • Verify recovery with inverse MixColumns.
  • Record the relevant inputs, intermediate states and final verification result before changing the reference configuration.
  • Compare the reference calculation or decision with an independent implementation or authorized observation; state any discrepancy and the applicable model boundary.

Expected learning outcomes

On completion, students can represent a four-byte AES column and its coefficient matrix, calculate finite-field products and XOR sums for MixColumns, and verify recovery with inverse MixColumns.

Required deliverables

Submit the derivation or state trace for the named operation, the exact reference and changed configurations, the associated simulator or practical evidence, and a short validation statement addressing verify recovery with inverse MixColumns. Separate predicted values from observations.

Prerequisite knowledge and related learning

Use the curriculum sequence and the Concepts section for prerequisite terminology. After completion, continue to AES · AddRoundKey.

Environment and experimental methodology

A standard browser and the experiment-specific Python implementation or Colab notebook. Where the practical uses a protocol model, model results are distinguished from actual local cryptographic operations.

Begin with a manual prediction, record the baseline, change one independent condition at a time, and compare the resulting trace or measurements with the original prediction. Record observations and uncertainty separately from reference values. Follow the experiment’s specific procedure, safety limits, and acceptance checks.

01 · Experiment overview

CR16 · AES · MixColumns and inverse

Each column is multiplied over \(\mathrm{GF}(2^{8})\) by circulant matrix with first row [02,03,01,01]. Inverse uses [0E,0B,0D,09]. Each output is XOR of four field products. Standard example DB 13 53 45 → 8E 4D A1 BC (supplementary test).

Before starting

Environment: standard computer, browser and Python/WSL.

Simulation: Editable JavaScript calculation

Technical scope: Classroom computation on a standard computer. Educational cipher code is not a production security implementation.

Complete the six stages in order. Use the same experiment inputs when comparing manual, browser and Python results.

02 · Concepts and mathematical foundations

Each column is multiplied over \(\mathrm{GF}(2^{8})\) by circulant matrix with first row [02,03,01,01]. Inverse uses [0E,0B,0D,09]. Each output is XOR of four field products. Standard example DB 13 53 45 → 8E 4D A1 BC (supplementary test).

Learning objectives

Calculate the named operation, inspect its intermediate values, reproduce the result in Python, and explain one controlled change. Prerequisites: binary/hexadecimal arithmetic; complete preceding labs in the same topic where applicable.

Before starting

Environment: standard computer, browser and Python/WSL.

Simulation: Editable JavaScript calculation

Technical scope: Classroom computation on a standard computer. Educational cipher code is not a production security implementation.

MixColumns as linear algebra

1 · Principles and purpose

MixColumns spreads a change within each column. Its coefficients are field elements, not decimal weights. The inverse coefficient matrix undoes the transformation.

2 · Mathematical and algorithmic foundations

First output=02·a0⊕03·a1⊕a2⊕a3; subsequent rows use cyclic right shifts of [02,03,01,01]. Inverse starts [0E,0B,0D,09]. Apply xtime and XOR, never ordinary integer addition.

3 · Worked teaching example

For DB 13 53 45, 02·DB=AD, 03·13=35, so AD⊕35⊕53⊕45=8E. Complete output 8E 4D A1 BC; inverse recovers DB 13 53 45.

Verified default trace · 19 intermediate states

Given parameters (teaching example):

{
  "state": "DB135345000000000000000000000000"
}
StageComputed values
1{ "step": "Input matrix", "state": "DB135345000000000000000000000000" }
2{ "step": "Column 0, row 0", "products": [ "AD", "35", "53", "45" ], "output": "8E" }
3{ "step": "Column 0, row 1", "products": [ "26", "F5", "45", "DB" ], "output": "4D" }
4{ "step": "Column 0, row 2", "products": [ "A6", "CF", "DB", "13" ], "output": "A1" }
5{ "step": "Column 0, row 3", "products": [ "8A", "76", "13", "53" ], "output": "BC" }
6{ "step": "Column 1, row 0", "products": [ "00", "00", "00", "00" ], "output": "00" }
7{ "step": "Column 1, row 1", "products": [ "00", "00", "00", "00" ], "output": "00" }
8{ "step": "Column 1, row 2", "products": [ "00", "00", "00", "00" ], "output": "00" }
9{ "step": "Column 1, row 3", "products": [ "00", "00", "00", "00" ], "output": "00" }
10{ "step": "Column 2, row 0", "products": [ "00", "00", "00", "00" ], "output": "00" }
11{ "step": "Column 2, row 1", "products": [ "00", "00", "00", "00" ], "output": "00" }
12{ "step": "Column 2, row 2", "products": [ "00", "00", "00", "00" ], "output": "00" }
13{ "step": "Column 2, row 3", "products": [ "00", "00", "00", "00" ], "output": "00" }
14{ "step": "Column 3, row 0", "products": [ "00", "00", "00", "00" ], "output": "00" }
15{ "step": "Column 3, row 1", "products": [ "00", "00", "00", "00" ], "output": "00" }
16{ "step": "Column 3, row 2", "products": [ "00", "00", "00", "00" ], "output": "00" }
17{ "step": "Column 3, row 3", "products": [ "00", "00", "00", "00" ], "output": "00" }
18{ "step": "Output matrix", "state": "8E4DA1BC000000000000000000000000" }
19{ "step": "Inverse", "state": "DB135345000000000000000000000000" }

Recorded result

{
  "output": "8E4DA1BC000000000000000000000000",
  "recovered": "DB135345000000000000000000000000"
}

Captured earlier local execution. Randomized values and timing can differ; compare the invariant.

4 · Verification and experimental interpretation

Step through the following visualization and compare the named operation with the corresponding computed state. Check the mathematical invariant, inverse operation or protocol acceptance condition. Change one input at a time; distinguish a measured output from a prediction.

Mathematical representation and interpretation

Example 2 — AES MixColumns mathematical representation

The MixColumns transformation operates independently on each column of the AES state matrix using arithmetic over the finite field \(\mathrm{GF}(2^8)\). Each \(s_i\) is an input byte, and each \(s^{\prime}_i\) is an output byte. The coefficients are hexadecimal field elements. Addition is bitwise XOR, not integer addition.

\[\begin{bmatrix}s^{\prime}_0\\s^{\prime}_1\\s^{\prime}_2\\s^{\prime}_3\end{bmatrix}=\begin{bmatrix}02&03&01&01\\01&02&03&01\\01&01&02&03\\03&01&01&02\end{bmatrix}\begin{bmatrix}s_0\\s_1\\s_2\\s_3\end{bmatrix}\]

First output byte and numerical verification

For the separate standard teaching column DB 13 53 45: multiplying DB by 02 shifts to B6, then reduces B6 XOR 1B = AD; multiplying 13 by 03 gives 26 XOR 13 = 35. The remaining coefficients are unity. All products use the polynomial below.

\[\begin{aligned}s^{\prime}_0&=(02\otimes s_0)\oplus(03\otimes s_1)\oplus s_2\oplus s_3\\&=\mathrm{AD}_{16}\oplus\mathrm{35}_{16}\oplus\mathrm{53}_{16}\oplus\mathrm{45}_{16}\\&=\mathrm{8E}_{16}\end{aligned}\]

\[\boxed{m(x)=x^8+x^4+x^3+x+1}\]The complete forward result is 8E 4D A1 BC. Applying inverse MixColumns gives DB 13 53 45; this is a direct check of the column transformation.

AES field polynomial

Bytes represent coefficients of polynomials over GF(2). xtime multiplies by x, which is the byte 02, then reduces with m(x); 03 times a byte equals xtime(a) XOR a.

\[m(x)=x^8+x^4+x^3+x+1,\qquad \operatorname{xtime}(a)=\begin{cases}(a\ll1)\bmod256,&a<128\\((a\ll1)\bmod256)\oplus\mathrm{1B}_{16},&a\ge128\end{cases}\]

For 0x57, xtime gives 0xAE. For 0xAE, the shifted low byte 0x5C XOR 0x1B gives 0x47.

Concept animation · finite-field matrix multiplication

Explore the teaching example independently of the simulator. Each step reveals an operation, data relationship or calculated state. The Simulation view has separate editable inputs.

AES · MixColumns and inverse: finite-field matrix multiplicationCoefficient matrixInputOutput02030101DB8E0102030113—0101020353—0301010245—×=Selected row: AD ⊕ 35 ⊕ 53 ⊕ 45 = 8EAll products are in GF(2⁸); reduction polynomial 0x11B.

Step 1 of 4 · MixColumns row 0

MixColumns row 0

Row
0
Field products
["AD", "35", "53", "45"]
XOR result
8E

Teaching example only; inspect live calculations or real practical evidence separately.

Shared research workbenches · network designer & advanced studies
Concurrent-device simulation & Monte Carlo research
Distributed digital twin · topology, protocol & battery research

03 · Interactive simulation

Baseline diagram loaded. Interactive engine initializing…

Verified baseline reference — use the live workstation below to explore steps and compare inputs.
CR16 Column 0, row 0MixColumns · one output byte is four field productsInput stateDB000000130000005300000045000000Mixed state8E0000004D000000A1000000BC000000Coefficient matrix02030101010203010101020303010102Column 0, output row 0 · modulus x⁸ + x⁴ + x³ + x + 102 × DB in GF(2⁸)AD⊕03 × 13 in GF(2⁸)35⊕01 × 53 in GF(2⁸)53⊕01 × 45 in GF(2⁸)45AD ⊕ 35 ⊕ 53 ⊕ 45 = 8EAll additions are XOR; multiplication is carryless and reduced modulo 0x11B.

Edit the fields and choose Recompute. Use step controls to inspect real calculated states. Hexadecimal byte fields are written without 0x; numeric fields accept decimal or 0x notation.

Select an algorithm step to view its calculated diagram. The byte inspector uses index 4c+r; in row/column or XOR labs it jumps to the corresponding operation. Matrix values follow the representation selector; arithmetic annotations use hexadecimal. On narrow screens, scroll the diagram horizontally to inspect every label.

Calculated result

{
  "output": "8E4DA1BC000000000000000000000000",
  "recovered": "DB135345000000000000000000000000"
}
All intermediate trace rows

Guided simulation activity

Use the baseline inputs shown above. Predict a result, advance one operation at a time, inspect the intermediate state, then change only the parameter specified in the Experiments view. Export the trace and compare it with your manual derivation.

Continue to practical experiments →

04 · Experiments and engineering investigations

Analytical preparation — before Python

Each column is multiplied over \(\mathrm{GF}(2^{8})\) by circulant matrix with first row [02,03,01,01]. Inverse uses [0E,0B,0D,09]. Each output is XOR of four field products. Standard example DB 13 53 45 → 8E 4D A1 BC (supplementary test).

Predict the baseline result before revealing the calculated state. A controlled comparison changes the named input while keeping the other conditions fixed. Record an observed value separately from an expected value.

Part A · Independent theoretical exercises

Complete each question before running the simulator or Python. Show calculations or protocol traces. The teaching example is a method, not a substitute for the assigned values.

01 · Application and derivation

Application and derivation · Independent work

For the input column DB 13 53 45, compute a different trial with the last byte changed to 44. Calculate the first output byte using 02,03,01,01 coefficients and \(\mathrm{GF}(2^{8})\) reduction. Show every product and XOR; then verify inverse recovery.

02 · Matrix reasoning

Matrix reasoning · Independent work

For input column 01 00 00 00 calculate MixColumns output and explain why this basis-vector experiment is useful.

Required evidence: state the expected invariant or acceptance condition; record hand-derived results, compare with the simulator or Python trace, and explain the first discrepancy. Do not report a predicted value as a measurement.

Expanded independent theoretical exercise bank

Progress from calculation and interpretation to diagnosis and controlled engineering design. Complete the questions without opening the simulation first; show intermediate steps.

Intermediate · Alternate configuration

Independent theoretical exercise · CR16-01

For the separate teaching-test configuration state: DA135345000000000000000000000000, predict output using the relevant operation or decision rule. Show intermediate work and state whether this is a deterministic result.

Intermediate · Interpret a computation state

Independent theoretical exercise · CR16-02

A teaching trace for AES · MixColumns and inverse contains step: Column 0, row 0; products: ["AD", "35", "53", "45"]; output: 8E. Explain the role of output (recorded value 8E) and identify the rule or input that determines it. Distinguish an intermediate state from the final result.

Advanced · Identify a terminal invariant

Independent theoretical exercise · CR16-03

The first teaching trace contains step: Input matrix; state: DB135345000000000000000000000000; the last contains step: Inverse; state: DB135345000000000000000000000000. Identify one distinction between the initial operation and completion. What additional condition must hold to use the result?

Challenging · Controlled algorithm verification

Independent theoretical exercise · CR16-04

Plan a comparison of state: DB135345000000000000000000000000 with state: DA135345000000000000000000000000. Record the dependent value output, identify the changed factor(s), and describe the verification and failure criterion without claiming a real security measurement.

Part B · Guided simulation and practical procedure

Before starting — tools and setup

Standard computer; extract the WSL toolkit into a new directory. For the browser activity, use the integrated workstation. Editable browser calculation

Install Python dependencies only if required by the selected toolkit README. Use its requirements file and virtual environment instructions.

Open complete, verified WSL commands in Part C ↓

01

Calculate the matrix product in \(\mathrm{GF}(2^{8})\)

  1. Write a prediction using the worked calculation in Concepts.
  2. Load the baseline column with all other columns zero. Use the four selected-byte controls for column 0 (indices 0–3). Record coefficient, operand, field product and cumulative XOR for each output row. Select Inverse to check recovery.
  3. Export the trace and compare against the reference only after predicting.

Experimental inputs

Experimental reference · json
{"state":"DB135345000000000000000000000000"}
Verified baseline reference (check after predicting)
Experimental reference · json
{"output":"8E4DA1BC000000000000000000000000","recovered":"DB135345000000000000000000000000"}

Compare your baseline with the verified reference output below; for runtime-dependent results, compare invariants and report actual measurements instead of expecting identical timing or randomly generated values.

Evidence to record

Input and output columns, each four-term GF product and XOR, changed byte positions, inverse recovery.

Run baseline →
02

Part D · Controlled experiment — Calculate the matrix product in \(\mathrm{GF}(2^{8})\)

  1. Change only DB to DA. Compare the four output bytes in column 0, keeping other columns zero. Restore the baseline; set the second column to 01000000 while leaving column 0 unchanged. Verify column independence.
  2. Record the conditions held constant and complete the trial table.
  3. Measure Input and output columns, each four-term GF product and XOR, changed byte positions, inverse recovery. Explain the first differing operation and verify inverse recovery where applicable.
TrialInput configurationPredictionObservedVerification
1{"state":"DB135345000000000000000000000000"}
2{"state":"DA135345000000000000000000000000"}
3{"state":"DB135345010000000000000000000000"}

Use the table as a recording template; enter your own measured values in the field below or reproduce it in your report.

Return to simulation →
03

Part E/F · Independent Python verification and deliverables

  1. Download the notebook or toolkit and run the default example.
  2. Reproduce each assigned trial using the notebook or edit a copy of example-input.json and use python3 lab.py --params example-input.json. Compare the browser and Python trace at the same step.
  3. Complete the independent assessment below without copying the worked baseline. Explain discrepancies and distinguish mathematical results from security claims.
Additional investigation instructions

A controlled comparison changes one independent input while holding other inputs fixed, then measures its effect on the dependent output. A baseline is the unmodified run. Evidence-based reasoning means citing the actual observed values, not merely asserting that an algorithm is secure.

  1. Run the supplied default values and record the first and final state.
  2. Predict the effect before changing anything. Change first byte DB to DA. First verified alternate: {"state": "DA135345000000000000000000000000"}.
  3. Keep other 15 bytes.
  4. Measure four products per output byte and inverse recovery.
  5. Restore the baseline and repeat with another valid input. Locate the first differing calculation.
  6. Submit a comparison table, a trace JSON or screenshots of relevant steps, and a short conclusion with an explicit limitation.
TrialChanged inputFixed conditionsPredictionMeasured valueReason / limitation
BaselineNoneDefaultStudent predictionRecord traceExplain
Trial 1Specified changeUnchanged inputsStudent predictionRecord traceExplain

Part C · Python, Google Colab and WSL

The standalone implementation uses the same synthetic baseline and calculations as the browser. In Colab, download the notebook, open Colab and upload it using File → Upload notebook. Run all cells in order.

WSL / Linux execution workflow

Use Ubuntu or Kali WSL, not PowerShell. Download the toolkit above to your computer. If Python, venv or unzip is missing, install these prerequisites once (requires administrator permission and network access).

Optional prerequisites · bash
sudo apt update
sudo apt install -y python3 python3-venv unzip

In WSL, enter the actual downloaded ZIP path when prompted (for example, a file under /mnt/c/Users/…/Downloads). Extract to a new, dedicated directory. If this directory already exists from a previous extraction, use the existing verified toolkit or choose a clean directory rather than overwriting it.

Step 1 · Extract · bash
read -r -p "Full path to PSUT_V22_9_9_Cryptography_WSL.zip: " ZIP
DEST="$HOME/psut-crypto-v22.9.9"
if [ -f "$ZIP" ] && [ ! -e "$DEST" ]; then
    mkdir "$DEST" && unzip "$ZIP" -d "$DEST"
else
    echo "Check ZIP path and use a fresh destination."
fi

Create the isolated environment in the extracted toolkit root, activate it, then enter this experiment’s actual folder. Install only its declared dependencies. A comment-only requirements file requires no third-party packages.

Step 2 · Activate and install · bash
cd ~/psut-crypto-v22.9.9
python3 -m venv .venv
source .venv/bin/activate
cd CR16
ls
python -m pip install -r requirements.txt

Execute the default run and save the genuine program output. Then run the supplied regression test and the baseline fixture through the explicit input interface.

Step 3 · Run and verify · bash
python lab.py | tee my-results.json
python test_lab.py
python lab.py --params example-input.json
python -m json.tool my-results.json

To change inputs, copy example-input.json, edit the copy in a text editor and run the command below. The original fixture is preserved.

Step 4 · Change an input · bash
cp example-input.json my-input.json
# Edit my-input.json with your preferred editor.
python lab.py --params my-input.json

These scripts terminate normally. Use Ctrl+C to stop a long-running calculation if needed. When finished, leave the isolated virtual environment; no global service cleanup is required for these local examples.

Step 5 · Finish · bash
deactivate

Declared dependencies: # Standard library only for core experiment

Expected terminal output — captured local execution

This excerpt contains the actual first trace step and final result from python lab.py, followed by the actual regression test output. Full stdout is in CR16/verified-output.txt inside the toolkit. Timing, random signatures, keys, certificate fields and implementation-dependent sizes can vary; compare the invariant and record your own observations.

Verified execution excerpt · text
{
  "first_step": {
    "step": "Input matrix",
    "state": "DB135345000000000000000000000000"
  },
  "result": {
    "output": "8E4DA1BC000000000000000000000000",
    "recovered": "DB135345000000000000000000000000"
  }
}

Test script output:
PASS

Check the output JSON and the test exit status. An assertion error means the expected invariant was not met. If Python reports a missing module, activate the environment and install the experiment’s requirements file; if a file is missing, check pwd and ls.

Inspect the documented Python implementation
Documented Python implementation · python
# ============================================================
# CR16 | Educational implementation and trace functions
# Copyright © 2026/2027 Dr. Mohammad Alja’afreh
# PSUT IoT Engineering Studio | Educational, synthetic inputs
# ============================================================
# Multiply binary polynomials by XORing shifted copies; no integer carries.
def pmul(a,b):
    r=0
    for i in range(b.bit_length()):
        if b>>i&1: r ^= a<<i
    return r

# Cancel the leading polynomial term repeatedly, retaining quotient and remainder.
def pdiv(a,b):
    if not b: raise ValueError('Zero polynomial divisor')
    q=0; steps=[]
    while a and a.bit_length()>=b.bit_length():
        k=a.bit_length()-b.bit_length(); old=a; q ^= 1<<k; a ^= b<<k
        steps.append((old,b<<k,a))
    return q,a,steps

# Reduce the carry-free product by the selected irreducible polynomial.
def gm(a,b,m=0x11b): return pdiv(pmul(a,b),m)[1]

def hx(n,w=2): return f'{n:0{w}X}'

def hexs(a): return bytes(a).hex().upper()

def row(label,**values): return {'step':label,**values}

# Multiply each column by the forward or inverse circulant matrix in GF(2^8).
def mix(s,inv=False):
    a=[14,11,13,9] if inv else [2,3,1,1]
    return bytes(gm(s[4*(i//4)+(i%4)%4],a[0])^gm(s[4*(i//4)+(i%4+1)%4],a[1])^gm(s[4*(i//4)+(i%4+2)%4],a[2])^gm(s[4*(i//4)+(i%4+3)%4],a[3]) for i in range(16))

def n(s): return int(s,0)

def b(s): return bytes.fromhex(s)

def exact(s,size):
    v=b(s)
    if len(v)!=size: raise ValueError(f'Expected {size} bytes')
    return v

def pack(result,trace): return {'result':result,'trace':trace}

EXTRA = {}

def run(p):
    s=exact(p['state'],16);o=mix(s);t=[row('Input matrix',state=hexs(s))]
    for c in range(4):
        for r in range(4):
            products=[gm(s[4*c+(r+j)%4],k) for j,k in enumerate([2,3,1,1])]; t.append(row(f'Column {c}, row {r}',products=[hx(x) for x in products],output=hx(o[4*c+r])))
    return pack({'output':hexs(o),'recovered':hexs(mix(o,True))},t+[row('Output matrix',state=hexs(o)),row('Inverse',state=hexs(mix(o,True)))])

PARAMS = {'state': 'DB135345000000000000000000000000'}
EXPECTED = {'output': '8E4DA1BC000000000000000000000000', 'recovered': 'DB135345000000000000000000000000'}
ALT = {'state': 'DA135345000000000000000000000000'}
ALT_EXPECTED = {'output': '8C4CA0BF000000000000000000000000', 'recovered': 'DA135345000000000000000000000000'}

if __name__ == "__main__":
    import argparse, json
    parser=argparse.ArgumentParser(description="CR16 synthetic cryptography exercise")
    parser.add_argument("--params", help="JSON parameter override file")
    parser.add_argument("--test", action="store_true")
    args=parser.parse_args()
    if args.test:
        assert run(PARAMS)["result"] == EXPECTED
        assert run(ALT)["result"] == ALT_EXPECTED
        print("CR16 default and changed input passed")
    else:
        parameters=PARAMS if not args.params else {**PARAMS,**json.load(open(args.params))}
        print(json.dumps(run(parameters),indent=2))
Verified default result
Reference result · json
{
  "output": "8E4DA1BC000000000000000000000000",
  "recovered": "DB135345000000000000000000000000"
}

05 · Interactive flashcards

Recall before revealing. Review and mastery ratings remain on this device.

Browse all explanations
Why is ordinary integer matrix multiplication incorrect?

AES matrix coefficients multiply in \(\mathrm{GF}(2^{8})\), and sums are XOR.

What is the dependent variable in this lab?

four products per output byte and inverse recovery

What must remain controlled?

other 15 bytes

What input settings define the baseline for this experiment?

state = DB135345000000000000000000000000

What is the first intermediate state in the baseline?

step: Input matrix; state: DB135345000000000000000000000000

How is 03·x evaluated?

xtime(x) XOR x.

Why is 02·DB equal to AD?

Shift DB left, then reduce 0x1B6 XOR 0x11B = AD.

Can a changed byte directly modify another column during MixColumns?

No; only the selected column changes in this operation.

06 · Knowledge assessment

Formative check

How are the four products accumulated?

Responses are for instructor review; no grading key is provided here.

Independent assessment

Use column 01 01 02 03 (remaining bytes zero), compute output byte at row 2 using four GF multiplications and XOR, then verify inverse recovery. Use an additional valid trial, a calculation or a counterexample to support your reasoning. Submit evidence from both runtimes and explain what the experiment does not establish.

Part F · Engineering evidence record

Record the baseline, prediction, changed input, observed result, discrepancy and limitation. Save locally or export with the displayed result. This is not an official submission.

All Cryptography Engineering labsNext laboratory · CR17 →

How to investigate · CR16

Independent variable: first byte DB to DA.

Controlled variables: other 15 bytes.

Dependent evidence: four products per output byte and inverse recovery.

Weak conclusion: “The output changed.” Stronger reasoning: cite both measured values, name the transformation responsible, and state why the observation does or does not generalize.

Dr. Mohammad · CR16

Offline, deterministic, current-step tutoring. No external AI service or real hardware access.