Decrypts a fetched encrypted-media-v1 blob.
encrypted-media-v1
Performs the receive-side integrity checks in order (features/encrypted-media.md — Validation):
features/encrypted-media.md
ciphertextSha256
plaintextSha256
The encrypted blob downloaded from a blob store
32-byte key from deriveMediaEncryptionKey
The parsed attachment from the message's imeta tag
imeta
The decrypted file bytes
If any integrity check fails or required fields are missing
Decrypts a fetched
encrypted-media-v1blob.Performs the receive-side integrity checks in order (
features/encrypted-media.md— Validation):ciphertextSha256plaintextSha256