1
00:00:00,320 --> 00:00:02,220
Welcome to Wandt Knowledge.

2
00:00:02,240 --> 00:00:05,500
In Lab 1, you'll learn to
hash files, compare their byte

3
00:00:05,520 --> 00:00:09,220
sizes, and test what changes
when you edit one character.

4
00:00:09,240 --> 00:00:12,300
This video introduces
the hands-on exercise.

5
00:00:12,320 --> 00:00:15,540
Open the Lab 1 lesson link
below for the instructions,

6
00:00:15,560 --> 00:00:18,480
practice files, and screenshot checklist.

7
00:00:18,920 --> 00:00:23,080
Both of these files contain
the exact same text, “Room 7,”

8
00:00:23,100 --> 00:00:24,910
but their filenames are different.

9
00:00:25,000 --> 00:00:27,200
Here we hash file contents.

10
00:00:27,240 --> 00:00:31,340
A filename or folder location
is not part of those content bytes.

11
00:00:31,720 --> 00:00:35,820
Start by extracting the practice packet,
but leave the originals alone.

12
00:00:35,940 --> 00:00:40,240
Copy the five specific text files you
see on screen into your working folder.

13
00:00:40,260 --> 00:00:43,020
Keep your notes folder strictly separate.

14
00:00:43,040 --> 00:00:45,480
Your screenshots
and exports will go there.

15
00:00:45,920 --> 00:00:48,160
On a Mac, open Hash Lume.

16
00:00:48,180 --> 00:00:51,060
Choose Add, then Files or folders.

17
00:00:51,220 --> 00:00:53,340
Select the five working files individually

18
00:00:53,360 --> 00:00:57,770
and verify that exactly five filenames
appear on your workbench.

19
00:00:58,520 --> 00:01:01,140
On Windows, open HashMyFiles.

20
00:01:01,280 --> 00:01:04,000
From the File menu, choose Add Folder.

21
00:01:04,140 --> 00:01:08,310
Select your working folder and
deliberately leave subfolders unchecked.

22
00:01:08,670 --> 00:01:12,210
For your baseline,
record the filename, its size in bytes,

23
00:01:12,230 --> 00:01:17,230
and the full SHA-256 hash value
for each of your five files.

24
00:01:17,730 --> 00:01:21,750
On a Mac, choose Export,
then Spreadsheet CSV.

25
00:01:22,010 --> 00:01:25,770
Save this in your notes folder
as before-hashes.csv.

26
00:01:26,470 --> 00:01:30,290
On Windows, select all five
rows under the Edit menu.

27
00:01:30,310 --> 00:01:35,310
Under File, choose Save Selected Items
and pick the CSV file type.

28
00:01:35,330 --> 00:01:37,390
Use the exact same filename.

29
00:01:37,870 --> 00:01:42,170
On either platform,
take screenshot S01 now.

30
00:01:42,910 --> 00:01:45,230
What do you predict will happen
to the byte size

31
00:01:45,250 --> 00:01:48,590
and the hash value
if we alter a single character?

32
00:01:49,310 --> 00:01:52,950
Open the working copy
of practice-working.txt

33
00:01:52,970 --> 00:01:55,050
in a plain-text editor.

34
00:01:55,070 --> 00:01:57,630
Replace the final seven with an eight.

35
00:01:57,670 --> 00:01:59,870
Keep the encoding and line ending intact.

36
00:01:59,890 --> 00:02:05,210
Save it, then take S02 with the filename
and edited line visible.

37
00:02:05,650 --> 00:02:06,990
Let’s measure again.

38
00:02:07,170 --> 00:02:09,890
Recalculate the hashes
from the saved files.

39
00:02:10,110 --> 00:02:13,050
In Hash Lume,
clear the workbench under Add,

40
00:02:13,070 --> 00:02:15,730
then add the five individual files again.

41
00:02:15,970 --> 00:02:19,150
In HashMyFiles, press F5 to refresh.

42
00:02:19,490 --> 00:02:21,130
Wait for recalculation.

43
00:02:21,410 --> 00:02:24,490
Save a second export as after-hashes.csv

44
00:02:24,510 --> 00:02:28,980
and capture all five
freshly calculated rows for S03.

45
00:02:29,610 --> 00:02:31,310
Now compare your datasets.

46
00:02:31,670 --> 00:02:35,130
Find practice-working.txt
in both your exports.

47
00:02:35,210 --> 00:02:36,710
Did its byte count change?

48
00:02:36,830 --> 00:02:39,190
Did its SHA-256 change?

49
00:02:39,270 --> 00:02:41,950
Check the other four unmodified files.

50
00:02:42,030 --> 00:02:43,930
Which rows support your finding?

51
00:02:44,150 --> 00:02:45,350
Cite them carefully.

52
00:02:45,870 --> 00:02:51,850
Matching SHA-256 values support a finding
that the files contain identical bytes.

53
00:02:52,030 --> 00:02:54,850
A hash does not establish
human authorship;

54
00:02:54,870 --> 00:02:56,670
that requires different evidence.

55
00:02:57,270 --> 00:02:59,690
Begin the lab by extracting your packet.

56
00:03:00,190 --> 00:03:03,410
Now open Lab 1 using
the lesson link below.

57
00:03:03,430 --> 00:03:07,810
Download the practice files, follow the
instructions, and document what you find.

58
00:03:07,830 --> 00:03:11,370
And remember:
Stay Curious and Wandt Knowledge.
