So I made a txt file using notepad and made a hash of it:
SHA1: 701B6FAD6530C61528F9C11F024A9434B3C42D65
then I edited that file and took the hash again:
SHA1: 97A1D0B1A8BBEE639BADF4A54CEC1C83284ED1CF
then I reverted a change:
SHA1: 701B6FAD6530C61528F9C11F024A9434B3C42D65
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:
SHA1: CB498FAEF0CD2886A12A4128E168CD30CF97B537
Then I appended a character to the last line and saved the file
SHA1: 15DFC97EAD337537931BAD381A8EB7DBC7E7C050
Then I reverted a change using Ctrl+Z Combo and saved the file
SHA1: 0D5A19A1DAEBC47F75E759C279B4D1849BD5A9E8
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.
Here are original and reverted are side by side, also two hashes: