Read bytes, offsets and signatures — practice notes

Copyright © 2026 Adam Scott Wandt. All rights reserved.

This notice applies to all copyrightable original Wandt Knowledge material,
including site code, text, course materials, lab guides, original graphics and
screenshots, downloads, and synthetic practice materials.

Faculty are welcome to assign these materials in their classes by linking
students to the original live pages at https://knowledge.wandt.us/. Please use
links in your syllabus, course website, or learning management system so
students access the current materials directly from Wandt Knowledge.

These materials are updated regularly to reflect new developments, improve
instructions, and correct errors. Linking students to the original live pages
helps ensure they use the current version rather than an outdated copy.

Instructors may import designated LMS files into their own courses, change
their own assessment questions, and specify submission through their LMS or
by email. Always credit Professor Adam Scott Wandt and Wandt Knowledge and
link to the original assignment. Keep the public assignment intact. For other
redistribution, request permission at https://wandt.us/contact unless
applicable law permits the use. See https://knowledge.wandt.us/terms/.

These materials are not released under an open-source or Creative Commons
license. Public access and download availability do not place them in the
public domain. Other uses require separate permission from Adam Scott Wandt,
except as permitted by applicable law.

Third-party materials, software, trademarks, and interface elements remain
subject to their respective owners' rights and terms.

Name optional; keep this file on your own device. Self-study requires no submission. If your instructor assigned this shared lab, follow the Submission for a course checklist below.

Lab version: 0.1.1
Dataset: ACC265-DEMONSTRATION-20261006-v1
OS and app/version:
Original and working-copy paths:
Before observations (filename, state, full values):
Operations actually performed:
After observations:
Comparison and explanation:
Unexpected results or unavailable fields:
One limitation and a useful next check:
Sources and assistance actually used:

A course assignment has its own requirements and dataset. These notes do not certify completion or earn credit.

Check your files before starting
Use this lab’s own practice ZIP and a separate workspace. Keep supplied filenames; check exact byte counts in the hash app, not rounded size on disk. Size alone does not establish identity; compare SHA-256 with the packet manifest or reference.
practice-bytes.bin: 25 bytes
practice-signature.dat: 42 bytes
If you see Rich Text code such as {\rtf1, or the starting sizes differ, pause and check the source files. Open the downloaded .bin and .dat directly in HexLume or HxD; never recreate or save them in TextEdit or Notepad. Renaming an .rtf file does not turn it into the supplied binary file. Extract a fresh copy of this lab’s ZIP into a separate folder.
This is inspection only. Switching little endian to big endian changes the displayed interpretation, not the stored bytes. Each file’s fresh after SHA-256 should match its own before SHA-256. Do not edit a file to make its hash change.
Keep earlier work separately if you restart and disclose it. Ask your instructor about an already-submitted attempt.
Set up your workspace

Use a Mac or Windows computer that can run the apps listed below. You can read this guide on a phone, but the illustrated app work needs a compatible computer. Check the software requirements before starting.

Download and extract the entire practice ZIP. Keep its extracted practice/ folder unchanged. Read any case brief and keep the supplied logs, reference files and blank worksheets available.

Beside practice/, create four folders: before/, working/, after/ and notes/. Copy only the evidence files listed below into both before/ and working/. Inspect working/; leave before/ unchanged.

Keep screenshots, original app exports and your observation record in notes/. Capture the before results before making any permitted change. The guide marks when to save each required checkpoint.

At the end, follow the guide’s fresh-measurement procedure for every working file and save the after results. In HashLume, preserve the before export, clear the workbench results and reload all required individual files. Copy those final evidence files into after/ using the original filenames. Package before/ and after/ only when you are ready to submit.

Save evidence as you work (when this shared lab is assigned)

Establish the before state: Save before-hashes.csv before inspection.

Show both calculations: Capture S01 for the little-endian interpretation. Capture S02 for the big-endian interpretation of the same bytes.

Inspect the disguised example: Capture S03 with the filename, offset and signature bytes readable.

Rehash and explain: Save after-hashes.csv and preserve the final working files in after/.

How to make and check evidence.zip

Check that before/ holds your retained starting files and after/ holds your final working files. Both folders need every evidence filename listed above, even when the files stayed unchanged.

Select the before and after folders together. On Mac, Control-click the selection and choose Compress. On Windows, right-click the selection, choose Show more options if needed, then Send to → Compressed (zipped) folder.

Name the resulting archive evidence.zip. If your computer hides extensions, check the file type so you do not accidentally name it evidence.zip.zip.

Open the ZIP to check its contents before uploading. The before/ and after/ folders should be at its top level, with the evidence files inside each. Do not compress the entire workspace or submit the original practice ZIP. Your computer may add hidden housekeeping files; these are not evidence.

Attach evidence.zip to the evidence item. Keep hash exports, screenshots, observation records and any required metadata report outside this ZIP and attach them to their matching items. Retain your working folder and original captures for follow-up.

If you get stuck

My file shows Rich Text code or has the wrong size
The supplied practice-bytes.bin is 25 bytes and practice-signature.dat is 42 bytes. If you see {\rtf1 or different starting sizes, check the selected file and path. Extract a fresh copy of this lab’s ZIP into a separate folder and open the actual .bin or .dat in HexLume or HxD. Do not create, convert or save the evidence in a text editor. Record any restart.

The interpreted number looks wrong
Check the filename, offset and its number base, selected byte count, unsigned data type and byte order. Compare the same raw bytes in both interpretations; a different selection changes the question.

Does changing byte order change the file?
No. This is an inspection-only lab: each file’s freshly measured after hash should match its own before hash. Switching the inspector’s byte order changes the displayed number, not the file bytes. Keep read-only mode enabled and do not save edited data or force a hash change.

I cannot find or open the practice files
Extract the whole practice ZIP first, then open its practice/ folder. Work with the listed evidence files, not the ZIP itself. Keep app installation folders separate. If the app or operating system is incompatible, contact your instructor before continuing; do not disable security settings.

I missed a before screenshot or export
Do not label an after result as a before capture. Retain what you have and record the missing step honestly. If you restart from the unchanged practice packet, keep the attempts separate and disclose the restart; ask your instructor how to handle an already-submitted attempt.

The screenshot cuts off a value
Expand the relevant column or use more than one readable image for that checkpoint, such as S01a.png and S01b.png. Include the filename, algorithm or field label, and the complete value. Submit your own app captures individually; do not use this guide’s illustrations.

Brightspace will not accept an attachment
Use the matching activity provided by your instructor and its Add a File control. Wait for each upload to finish, confirm its filename, and check all items before submitting. If the button is missing or an upload fails, retain your original files and tell your instructor which item, file type and error you encountered. Do not convert evidence into a PDF or post it to a public file-sharing service.

Submission for a course

Learning on your own? Use this checklist to review or save your work. You do not need to submit anything, and this website does not collect your files. For a course, use this checklist only when your instructor assigns this shared practice edition and opens the matching Brightspace activity. Your course sets the assigned packet, grading, deadline, accessibility arrangements and WADL requirements. This checklist does not replace a different course assignment or its evidence files.

Your seven submission items
Each file type has a different purpose: the ZIP preserves your evidence files, the CSV exports record your app results, and the images show your work. You do not need to convert the same work into every format. For each screenshot, choose PNG or JPG; you do not need both.
1. Upload your evidence files: Attach evidence.zip. It contains only the before/ and after/ folders, each with the two evidence files listed below.
2. Upload your hash exports: Attach before-hashes.csv and after-hashes.csv together in this item. These are the two original exports from your hash app.
3. Upload S01 — Little-endian interpretation: Attach S01.png or S01.jpg. Use additional images only when needed to show all required details.
4. Upload S02 — Big-endian interpretation: Attach S02.png or S02.jpg. Use additional images only when needed to show all required details.
5. Upload S03 — Signature bytes: Attach S03.png or S03.jpg. Use additional images only when needed to show all required details.
6. Upload your observation record: Attach observations.txt using the blank text template below. If you already made observations.csv, that is also accepted. Submit one observation record.
7. Enter your findings and work details: Type your explanation and work details directly into Brightspace. This item needs no file attachment.
Keep the attachments separate: only the evidence files go inside evidence.zip. Attach the two hash exports, each screenshot and your observation record or worksheets directly to their matching items. No Word or PDF report is required.
On Mac, an archive utility can add small metadata entries starting with ._ when you compress folders. Use the named evidence files in before/ and after/ for your hash comparison. Keep your original files unchanged.
Blank observation template: hex-observations.txt in this download folder. Save your completed copy as observations.txt.

Lab record: LAB-HEX-001 · v0.1.1 · Dataset: ACC265-DEMONSTRATION-20261006-v1

Actual files: practice-bytes.bin, practice-signature.dat

Before starting, retain a copy of the listed evidence files in a before folder. Inspect separate working copies and place their final state in an after folder. Submit the actual files in one evidence.zip containing before/ and after/ with the original filenames. Include only the listed artifacts. Keep screenshots, exports and completed worksheets outside this ZIP as separate attachments. File renaming, a screenshot or a PDF is not a substitute for the original bytes.

Inspection only. Both files must remain byte-for-byte unchanged; changing the displayed byte order does not edit the file.

Before and after exports

Use HashLume on Mac or HashMyFiles on Windows to export the listed working files before and after the activity. Save the original exports as before-hashes.csv and after-hashes.csv, with full SHA-256 values, filenames and byte sizes. Follow the guide’s fresh-measurement steps before the final export. Keep the app’s columns and values intact, including a headerless export if that is what it produces. Report the app/version and column meanings in your notes. Do not calculate a digest from a screenshot or substitute the guide’s reference values. If an export includes a personal folder path, use a neutral working folder before exporting or consult your instructor.

Screenshot attachments

Upload your own screenshots individually as PNG or JPG attachments, not pasted into a document or placed inside a ZIP. Name them with the checkpoint ID (S01, S02, and so on); use S01a and S01b when one checkpoint needs several images. Capture the application window with the filename, relevant controls and complete values readable. Avoid unrelated desktop content and personal information. Keep the original capture files; if you crop to the app, retain the originals too. Do not alter results, reconstruct a screen or submit the guide’s illustrations. Report access barriers to your instructor for an equivalent evidence format.

S01 — Little-endian interpretation
practice-bytes.bin at hexadecimal offset 0x0D with the two bytes selected, the unsigned 16-bit interpretation and little-endian setting visible.

S02 — Big-endian interpretation
The same file, offset and two bytes, now with the unsigned 16-bit interpretation and big-endian setting visible.

S03 — Signature bytes
practice-signature.dat from offset zero, with its leading bytes and decoded text visible. Keep the filename and offset column in view.

Observation record
Submit observations.csv or observations.txt with filename, offset and number base, exact raw bytes, selected length, unsigned data type, byte order and interpreted value. Include the signature observation and the limits of inferring a file type from a prefix.

Explain your findings
For an assigned course lab, type your findings and work details directly into the final written-response item in Brightspace. Keep screenshots, exports and worksheets as the separate attachments listed above; do not combine them into a report. For self-study, keep your explanation in your own notes.

Connect each interpretation to the same selected bytes. Explain why changing byte order changes a displayed number while the file hash remains unchanged. Explain what the signature supports and what it cannot establish about the rest of the file.

Record the lab ID/version, dataset ID and assigned packet, your operating system and app versions, the operations you actually performed, and the screenshot or file supporting each conclusion. Disclose sources, collaboration and AI assistance according to the assigned course rules. State unavailable fields and failed operations honestly. A supplied reference result is not an operation you performed.

How evidence is checked
These are shared practice files. Matching hashes for unchanged evidence are expected across students, and the prescribed hashing edit can also produce the same final hash. An instructor can compare uploaded file bytes with the exports and screenshots, then follow up on inconsistencies. Identical screenshot files may prompt a closer look, but a match alone does not establish misconduct. A different screenshot hash does not prove independent work. Explain your own process and retain your originals for any follow-up.
Use each file for its own purpose: evidence.zip contains the actual before/ and after/ files; the two hash CSVs are original app exports; S01, S02 and any S03 are pictures of your app; observations.txt is your completed record of values; the final Brightspace response is your explanation. Upload the ZIP once to item 1, not to every item. A raw hash CSV does not replace the observation record, and an edited evidence file does not replace a screenshot.

Keep original hash exports as .csv, not .cvs or an Excel workbook (.xlsx). A CSV may open in Excel without changing its format; do not resave or convert it. Fill the downloaded observation template and save it as plain-text observations.txt. On Mac, check TextEdit’s Format menu: Make Rich Text means the document is already plain text; if it offers Make Plain Text, use that for your observation record. On Windows use Notepad. Check the full filename so you do not add a second extension. Use a text editor only for the observation record and Lab 1’s permitted edit, not to recreate binary or photo evidence.

Optional headings for the existing final response
Findings: Explain the two unsigned interpretations of the same bytes, your before/after preservation check, and what the signature supports and leaves untested.
Evidence: Cite your actual filename, offset/base, bytes, byte orders, observation record and S01–S03. Explain the relevant hash-export columns.
Limitations or problems: State any unavailable result, failed step or restart, or state none. Distinguish recognizing a prefix from validating a complete file.
Work details: Identify the lab ID/version, dataset ID and whether you used the assigned packet; list your actual operating system and app versions and the work you performed. The guide’s verification date is not your app version.
Sources and assistance: State sources, collaboration and AI assistance according to your course’s rules, including none when applicable.
Use these in the same Brightspace answer box; no additional upload is required.
