---
canonical: "https://yogababe.online/courses/data-representation/padding-and-integrity"
language: "en"
title: "Padding and integrity: keep the denominator and the trust boundary | Rejuvenati Open Study"
content_sha256: "1e29f8c5caf3b2541200f8c0112bedd67261ba65ef5323f1fdc035797321cc09"
source: "Same native server-rendered main content; interface controls omitted"
---

LESSON 2 OF 2 · ABOUT 25 MINUTES

# Padding and integrity: keep the denominator and the trust boundary

Recover original lengths and explain why a checksum is not sender authorization.

By Rejuvenati editorial · updated 2026-11-29

[![Source-review diagram: 168 BITS = 28 × 6 = 24 × 7 = 21 × 8, FIXED WIDTHS PRESERVE LEADING ZEROS, BIT GROUPING IS NOT TEXT INTERPRETATION.](https://yogababe.online/diagrams/superframe-168-alignment-and-meaning.svg "168-bit transcoding, Part I: alignment preserves bits, not meaning — explanatory diagram")](https://yogababe.online/diagrams/superframe-168-alignment-and-meaning.svg)

168-bit transcoding, Part I: alignment preserves bits, not meaning — explanatory diagram Rejuvenati editorial · Original explanatory diagram · [Image source & rights](https://yogababe.online/image/c9b98596d7e6b7df)

Teaching synthesis of reviewed source articles. Source-reported tests, independent examples and hypothetical exercises retain their labels.

## Before this lesson

-   Binary notation; a short primer is included in the first lesson.
-   Integer multiplication and division.

## Learning objectives

-   Calculate two different padding percentages.
-   Explain the optional frame’s payload boundary.
-   Separate accidental-error detection from authentication.

## Retain the original message length

The source permits final padding to an octet-aligned 21-byte container and requires the original length for recovery. If a legitimate message ends in 0xAA, stripping every trailing 0xAA loses content. Record the original length, validate it against the received frame length, and return exactly that many message bytes. Our independent examples include all lengths from zero through 256 and deliberately retain legitimate trailing 0xAA values.

## Whole frames and payloads are different objects

The optional source frame assigns six bits to a mode and six to a check, leaving 156 payload bits. Although the complete 168-bit frame divides evenly into six-, seven- and eight-bit groups, its payload does not divide evenly by seven or eight. The application needs an explicit segmentation, carry or padding rule for those boundaries. A property of the wrapper does not automatically become a property of its contents.

## Check what the check establishes

A framing check helps recognize boundaries; an error-detection code addresses a declared corruption model; authentication addresses authorized origin. A public digest alone does not establish who authorized a message. The manuscript’s reported checksum experiments have not been rerun in this course. The safe learning result is to specify the algorithm, covered bits and error model, and avoid converting a finite no-miss observation into a universal guarantee.

## Worked example

### One byte is padded to a 21-byte container. How large is the padding?

1.  Subtract one payload byte from 21 container bytes: 20 padding bytes.
2.  Against the total container: 20 ÷ 21 × 100 ≈ 95.24%.
3.  Against the original payload: 20 ÷ 1 × 100 = 2,000%.
4.  State the denominator whenever quoting either percentage.

**padding/container = 20/21; added padding/payload = 20/1**

## Practice and answer notes

Try each question before revealing the answer. There is no score sent to the site.

### Exercise 1

What are the remainders when 156 payload bits are divided by seven and eight? Why do they matter?

Reveal worked answer and assessment criteria

#### Answer notes

156 = 22 × 7 + 2 and 156 = 19 × 8 + 4. The residual bits need a specified packing rule even though the total frame is aligned.

#### Check your reasoning

Provide both quotients and remainders, then distinguish payload packing from whole-frame divisibility.

### Exercise 2

Two raw records have different hashes but the same normalized label. Has fraud been proved?

Reveal worked answer and assessment criteria

#### Answer notes

No. The hashes establish differing input bytes under the stated hashing procedure. Benign normalization, import differences and deliberate substitution need additional evidence to distinguish.

#### Check your reasoning

Identify what was observed and one further provenance or authorization check; do not infer intent from representation alone.

Self-assessment with worked solutions and explicit criteria; no grade, credit, certificate or accreditation is awarded.

## Readings and sources

-   [Length, padding and overhead](https://yogababe.online/articles/superframe-padding-length-and-overhead)
-   [Error detection versus authentication](https://yogababe.online/articles/superframe-error-detection-and-authentication)
-   [Independent fixture record](https://yogababe.online/methods/superframe-audit)

### Original source collection

-   [168-bit source manuscript](https://yogababe.online/reading/GEO-017)
-   [Independent conformance audit](https://yogababe.online/methods/superframe-audit)

## Reflection

Write down one conclusion supported by the evidence and one question that remains open. Identify the source passage or calculation behind each. Revisit any assessment criterion you could not yet explain.

[Same full lesson and answers as JSON](https://yogababe.online/api/education/lessons/padding-and-integrity) · [Same lesson as Markdown](https://yogababe.online/courses/data-representation/padding-and-integrity.md)

## Study notes and rights

[Our curatorial learning charter](https://yogababe.online/learning-charter)

Independent educational materials, not an accredited programme, professional qualification or claim of institutional adoption.

Original course prose and exercises: CC BY 4.0. Linked source materials and reused illustrations retain their own stated rights. [Course prose license](https://creativecommons.org/licenses/by/4.0/)

Technical source manuscripts reviewed for these courses are by Michael Laurence Curzi, affiliated in the sources with 36N9 Genetics LLC / ZEDEC. Source-reported findings remain attributed; the editorial teaching material and independent examples are separate work. Standards and historical records retain their original attribution through the linked reference articles.

---
[Native HTML](https://yogababe.online/courses/data-representation/padding-and-integrity) · [Sources and rights](https://yogababe.online/sources) · [Editorial standards](https://yogababe.online/terms) · [Multilingual record access](https://yogababe.online/api/i18n/catalog)
