Verify
Verification
First, a hash value of the encrypted volume is generated. This value is then compared with that stored on the Blockchain under the users account. The masked dataset is encrypted in the browser memory at three levels. If both hash values match, the comparison supports the conclusion that the encrypted volume corresponds to the referenced file.
What is a SHA-256 hash?
A cryptographic hash is a fingerprint calculated from the bytes of a file. SHA-256 produces a 256-bit digest, commonly displayed as a string of 64 hexadecimal characters. The same bytes produce the same digest, while changes to the bytes are expected to produce a different digest.
MapSafe calculates the hash of the encrypted volume, not the visible map or the plaintext shapefile. Comparing a modified or re-encrypted copy with the original record may therefore produce a mismatch even if the underlying observations appear similar.
Load the encrypted volume
In the access application, choose the encrypted .enc file, then select Continue. The Verify step displays the SHA-256 hash of the loaded volume. Copy the value and compare it with the corresponding notarised blockchain record.
Compare against a trusted record
- Select the intended .enc file in the Accessing application.
- Continue to Verify and copy the displayed SHA-256 value.
- Locate the associated notarisation record supplied by the data owner through a trusted channel. Confirm that it refers to the intended filename and release.
- Compare the complete digest values. Check the transaction outcome and relevant record rather than relying solely on a transaction link.
- Proceed to decryption only when the applicable checks have succeeded.
The browser interface presents the digest for comparison; it does not automatically establish the trustworthiness of the source or the correctness of the blockchain reference.
Compare the cryptographic hashes
Check that both values match before proceeding to decryption. If the values do not match, do not assume the file is the one that was notarised; check the file and the corresponding record with the data provider.
Interpret the outcome
| Outcome | Interpretation | Next action |
|---|---|---|
| Matching digest | Bytes correspond to the reference | Proceed to the applicable access checks |
| Mismatch | File does not correspond to the reference | Stop and contact the data provider |
| Missing reference | No blockchain integrity comparison is established | Confirm the release through the agreed policy |
Hash comparison is not a digital signature and does not prove the identity or authority of the person who supplied the file. It also does not demonstrate that the original or derived map is safe to publish. See Decrypt for the next step.
