pub fn decrypt<C: ContentCrypto>(
crypto: &C,
urn: &DigUrn,
salt: Option<&SecretSalt>,
ciphertext: &[u8],
chunk_lens: &[u32],
) -> Result<Vec<u8>>Expand description
Rule 5 (confidentiality half): decrypt the verified ciphertext. Splits by chunk_ranges and
AES-opens each chunk in order via the injected ContentCrypto::decrypt_chunk. A tag failure on
any chunk fails closed with ResolveError::DecryptFailed.