If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Making a Logical Image like VHD Immutable by hashing the contenainer
Any file from any software can be changed (or corrupted by for example a low level disk error). So nothing is really immutable. A write once CD ROM is the exception to deliberate change, but corruption is still possible. So the challenge is more about detecting the change.
So yes, if you want to detect a change, creating a hash is a good option.
You can either create a hash of the whole VHD file after the file is made from the hashing module.
And / or you can create a hash of each individual file within the VHD file as it is created. See the details below.
Hash of each file
It takes slightly longer but you can hash each file as it is copied and a log is kept. You need to export the log at the end.
Example exported log file extract
MD5 and SHA256 hashes are included for each file. Plus you also get the file name, folder path, attributes, and dates.
Single Hash of entire VHD
You can pick your preferred hash functions, then copy / paste it into a text file.
Comment