Hashing and file integrity — 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-original.txt: 27 bytes
practice-copy.txt: 27 bytes
practice-case.txt: 27 bytes
practice-newline.txt: 28 bytes
practice-working.txt: 27 bytes
If the starting files do not match, extract a fresh copy of this lab’s ZIP into a separate folder. Do not recreate the text by typing it or repair the before copies. During the controlled edit, change only the final digit; do not press Enter, add spaces or save Rich Text. Keep any unexpected result and explain it.
Only the working copy of practice-working.txt is edited: change the final digit 7 to 8, keeping its encoding and final newline. Its fresh SHA-256 should change; the other four files should keep their own before hashes. Compare file hashes, not the hash of an export CSV.
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)

Read a complete result: Save before-hashes.csv now. Compare the SHA-256 column even when the app shows other algorithms. Capture S01 now, before editing, with all five filenames, sizes and full SHA-256 values readable.

Make one controlled edit: Save the one-character edit without adding a newline, then capture S02 with practice-working.txt identified and its edited text visible. Upload this PNG/JPG screenshot, not the edited .txt file, to S02.

Recompute after saving: Capture a new S03 from the freshly calculated results for all five working files. Do not reuse S01.

Keep a traceable practice record: Save after-hashes.csv, then 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

Which files go in which Brightspace item?
Use the numbered Submission for a course list. Upload evidence.zip only to item 1, the two original hash CSVs to item 2, and each screenshot to its own checkpoint. Your observation record summarizes values and comparisons; it is not a second copy of the raw exports. Type your explanation in the last item.

My after hash did not change
Save and close the permitted edit to practice-working.txt and confirm its path. In HashLume 27, re-adding a file can retain its old hash: save your before export, use Add (+) → Clear the workbench, then reload all five individual working files. Preserve unrelated results first. In HashMyFiles use View → Refresh (F5). Wait for completion and check the selected filename, full digest and fresh export. The History button is not Refresh.

My result differs from the reference
Check the exact edit, capitalization, newline and text encoding. Save plain text rather than rich text. Extra bytes can change the hash even when text looks the same. Keep and explain your actual result instead of replacing it with the reference.

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 five 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 — Before the edit: Attach S01.png or S01.jpg. Use additional images only when needed to show all required details.
4. Upload S02 — The controlled edit: Attach S02.png or S02.jpg. Use additional images only when needed to show all required details.
5. Upload S03 — After refreshing results: 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: hashing-observations.txt in this download folder. Save your completed copy as observations.txt.

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

Actual files: practice-original.txt, practice-copy.txt, practice-case.txt, practice-newline.txt, practice-working.txt

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.

Only practice-working.txt changes: replace the final digit 7 with 8 as directed. Preserve the encoding and line ending. Keep all other files unchanged.

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 — Before the edit
Your hash app with all five filenames, file sizes and full SHA-256 results before editing. Use additional images if needed to keep every value readable.

S02 — The controlled edit
Your text editor with practice-working.txt identified and the edited text visible. Capture the saved working copy; do not type a digest into the editor.

S03 — After refreshing results
Your hash app with freshly calculated results for all five working files after the edit, including full SHA-256 values and sizes.

Observation record
Make a before/after table for all five files: filename, byte size, full SHA-256 and changed/unchanged. Identify the files that match each other at each stage. Submit the table as observations.csv or observations.txt.

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.

Use your table to explain why the original and copy can match, why similar-looking text can differ, and what your one-character edit changed. Identify one discrepancy you encountered, or state that none was observed. Explain why another student following the same edit can obtain the same final hash. A digest alone does not identify who performed the work.

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 original/copy comparison, similar-looking text differences, your controlled edit and why another student following the same edit could obtain the same final hash.
Evidence: Cite your filenames, observation record and screenshot checkpoints. Explain the relevant hash-export columns.
Limitations or problems: Describe an unexpected discrepancy, unavailable result, failed step or restart, or state none. The intended hash change alone is not an unexpected problem.
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.
