So I made a txt file using notepad and made a hash of it:
then I edited that file and took the hash again:
then I reverted a change:
Note that the hash of original and reverted are the same, which makes sense because the content is the same.
Now I decided to make a hash of a pdf file:
Then I appended a character to the last line and saved the file
Note that the hash of original and reverted are NOT the same. I was wondering what exactly changed in the content that changed the hash.