Lab 1: Hashing and file integrity · lab v0.1.1 · quiz revision 1 · 7 written-response questions · 100 points
https://knowledge.wandt.us/labs/hashing/
Instructors may import this lab’s supplied quiz CSV into their own course. Link learners to the original lab page for the guide and practice files. The CSV imports questions and point values into a Brightspace quiz. Create the quiz first; attachment controls and course settings are configured after import.
Quiz file: hashing-quiz-r1.csv

Plan the session
• Allow about 45–60 minutes for the lab, plus installation and course submission time. This is a planning estimate.
• Suggested preparation: download, extract and copy files into a separate working folder.
• Mac: HashLume. Windows: HashMyFiles. Check installation, export access and student licensing before class.
• Use the synthetic packet on the lab page. Reference results are public; assess the learner’s own documented observations. If substituting your own dataset, revise the prompts and expected evidence before importing.

What students should be able to do
• Compare full file hashes and distinguish file content from names and size.
• Make one controlled change on a working copy and document the before/after comparison.
• Explain what a hash comparison supports and what it cannot establish.

Teach this lab
1. Opening question: Show two files with different names and ask whether a name, a size, or a digest is the best evidence that their contents match. Ask students to predict the effect of replacing a single digit before opening the editor.
2. During practice: Pause after the baseline export. Ask a pair to point to the original and working paths before either partner edits. After the edit, ask them to find the same filename in the fresh export rather than comparing row positions.
3. If students get stuck: If every digest is unchanged, check the saved path and whether the app actually recalculated. If several files changed, check encoding and line endings. Preserve the first results so students can explain the discrepancy.
4. Debrief: Two classmates obtain the same final digest. What does that tell you about the final bytes, and what does it leave unanswered about who performed the work?

What the quiz collects · 100 points
1. Upload your evidence files (15 points). Attach evidence.zip. It contains only the before/ and after/ folders, each with the five evidence files. Include these files in each folder: practice-original.txt, practice-copy.txt, practice-case.txt, practice-newline.txt, practice-working.txt. 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. Reopen the ZIP before submitting. Keep exports, screenshots and notes outside it.
2. Upload your hash exports (15 points). Attach before-hashes.csv and after-hashes.csv together in this item. These are the two original exports from your hash app. Retain the original columns, filenames, byte sizes and complete SHA-256 values. Compare each file’s before and after results to its own bytes.
3. Upload S01 — Before the edit (5 points). Attach S01.png or S01.jpg. Use additional images only when needed to show all required details. 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.
4. Upload S02 — The controlled edit (5 points). Attach S02.png or S02.jpg. Use additional images only when needed to show all required details. 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.
5. Upload S03 — After refreshing results (5 points). Attach S03.png or S03.jpg. Use additional images only when needed to show all required details. Your hash app with freshly calculated results for all five working files after the edit, including full SHA-256 values and sizes.
6. Upload your observation record (25 points). Attach observations.txt using the blank text template on the lab page. If you already made observations.csv, that is also accepted. Submit one 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.
7. Enter your findings and work details (30 points). Type your explanation and work details directly into Brightspace. This item needs no file attachment. 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.

Set up in Brightspace Quizzes
1. Open Quizzes in your course. Create a New Quiz, keep it hidden, and name it “Lab 1: Hashing and file integrity”. Put this lab link in the description: https://knowledge.wandt.us/labs/hashing/
2. Inside the new quiz choose Add Existing → Upload a File. Select hashing-quiz-r1.csv, review the question preview, choose Import All, and save. Import once into an empty quiz to avoid duplicates.
3. Reopen questions 1–6. In each Written Response question enable the option allowing learners to insert images and add attachments, then save. The last question, Q7, calls for typed findings. Keep the question order fixed and shuffling off.
4. Confirm 7 Written Response questions, the item weights above and 100 points total. These questions require manual evaluation. Set dates, timing, permitted attempts, accommodations, gradebook connection and feedback release for your course. State your sources, collaboration and AI disclosure rules before students begin.
5. Preview while hidden. Open the lab link, try an evidence ZIP on Q1, both CSVs together on Q2, a screenshot, and typed findings on the last item. In a permitted test attempt verify the files can be reopened in evaluation. Only then make the quiz visible. Do not reimport over a quiz with student attempts.

Evaluate two possible responses
• Practice response A: “We both edited the same prescribed digit and got the same final hash.” Check each learner’s before/after files, exports and edit capture. The final digest can be reproducible; a shared final value alone is not evidence of copying.
• Practice response B: “Here is my after screenshot,” with the starting values still on screen. Check the actual working file and original exports. Credit a documented edit and any valid baseline separately from the missing fresh measurement. Ask which file was reopened and when.

Give useful feedback
• Open the submitted files, including any explanation placed in an attachment. Distinguish a missing deliverable from one submitted in the wrong place. If a file cannot be inspected, follow up before assigning a zero.
• When a Mac evidence ZIP includes ._ entries, inspect the named evidence in before/ and after/ and compare its bytes with the hash exports. Confirmed archive metadata alone is not a missing file, an evidence change or grounds for a deduction. Check an unexplained extra file separately.
• Give credit for equivalent Mac and Windows evidence. For a deduction, identify the specific criterion, point loss and evidence. Avoid charging the same mistake twice; credit a sound explanation of a limitation even when a practical step is incomplete.

Brightspace documentation
https://community.d2l.com/brightspace/kb/articles/5012-create-and-configure-a-quiz
https://community.d2l.com/brightspace/kb/articles/3410-creating-question-library-questions

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.

