Decrypt
Decryption
The Decryption process uses a passphrase to transform the encrypted data into a usable form. MapSafe uses the encryption-decryption facility provided by the Web Crypto API built into the browser. This is similar but opposite to the encryption process. The masked dataset is decrypted in the browser memory at three levels. These passphrases are required to decrypt to each of the three levels.
How the volume is recovered
The browser uses the reverse of the nested encryption process. It derives the key material from the appropriate passphrase terms and attempts authenticated AES-GCM decryption of the encrypted archive. For a multi-level volume, access to an inner representation requires opening the included outer archive and then the relevant inner archive.
The recipient uses the passphrase prefixes, not an account identity or a mobile OpenPGP private key. A longer prefix includes the shorter terms. The levels must also have been included by the data owner at encryption time.
Passphrase lengths and access levels
- The full 15 term passphrase is used to decrypt to the original dataset,
- 10 terms of the full passphrase to decrypt the masked dataset, and
- 5 terms of the full passphrase to decrypt the `more' masked dataset.
A detailed description of the encryption and decryption processes are provided in this
document
Choose the intended representation
| Level | Representation | Passphrase |
|---|---|---|
| Fine (1) | Original dataset | All 15 terms |
| Medium (2) | Masked or binned dataset | First 10 terms |
| Coarse (3) | Further-masked or binned dataset | First 5 terms |
Enter the exact terms in their original order. A coarse representation is not necessarily appropriate for every purpose, and a successful decryption does not grant authority to redistribute the result. The recovered content may be a zipped shapefile or binned GeoJSON depending on the representation.
Decrypt and download the dataset
Choose Fine, Medium or Coarse in the decryption step. Enter the appropriate 15-, 10- or 5-term passphrase respectively, then select Decrypt and Download Dataset. Continue to the Display Map step.
Recover the dataset
- Load the encrypted file and complete the required integrity comparison.
- Select the appropriate Fine, Medium or Coarse radio option.
- Enter the corresponding passphrase terms and select Decrypt and Download Dataset.
- Retain the recovered output only in an appropriate protected location. Continue to Display Map when the operation succeeds.
If decryption fails
Confirm that the selected level was included and that the exact passphrase prefix is available. Contact the sender if the wrong release or terms were supplied. Do not expose the full passphrase unnecessarily. A missing or incorrect passphrase cannot be recovered from a blockchain hash.
Continue to Display after successful recovery.
