To verify my understanding, given two Orthanc installations, SourceA and TargetB, when I (1) send an instance from SourceA to TargetB, I should expect to get the (2) same MD5 hash when calling the api.
Getting (3) the same MD5 hash from the server SourceA and server SourceB means that indeed the DICOM instance have been transferred correctly.
Orthanc Installation:
SourceA
TargetB
(1) Send instance from SourceA to TargetB
Api: {SourceA}/modalities/TargetB/store (w/ instance identifier in body)
(2) Retrieve MD5 hash
Source A instance MD5 hash: {SourceA}/instances/{instance_identifier}/attachments/dicom/md5
Target B instance MD5 hash: {TargetB}/instances/{instance_identifier}/attachments/dicom/md5
(3) Compare MD5 hash
If Source A instance MD5 hash = Target B instance MD5 hash, then we are good!
Question
From the scenario above, do all Orthanc docker installations (current & prior versions) calculate the MD5 hash the same way? That is to say, it is unaffected by differences in Orthanc versions, OS, and whether docker or "compiled" version is running, etc?
What is the implication if the MD5 hash doesn't match?
I am seeing MD5 hash mismatch, but also slight differences in size as well (Api: /instances/{instance_identifier}/attachments/dicom/size).