Allows selective masking of JSON subdocuments for privacy while preserving the digest of the whole document.