Skip to main content

Function: downloadEncryptedContent()

downloadEncryptedContent(downloadUrl, __namedParameters, __namedParameters): Promise<Transform>

Defined in: src/Utils/messages-media.ts:476

Decrypts and downloads an AES256-CBC encrypted file given the keys. Assumes the SHA256 of the plaintext is appended to the end of the ciphertext

Parameters

downloadUrl

string

__namedParameters

MediaDecryptionKeyInfo

__namedParameters

MediaDownloadOptions = {}

Returns

Promise<Transform>