WhatsApp Decrypt icon

WhatsApp Decrypt

Descriptografa mídias do WhatsApp

Decrypt Media

AI-generated

Summary

Decrypts a WhatsApp media file from a given URL using a Base64 key and returns the decoded data.

Inputs

  • mediaType — Tipo de mídia para descriptografar
  • mediaUrl (required) — URL da mídia criptografada
  • mediaKey (required) — Chave de mídia em formato Base64
  • outputFormat — Formato de saída dos dados descriptografados

Output shape

a list of result objects

Each object contains a json property with success, mediaType, outputFormat, decryptedData, and originalUrl; a binary property holds the decrypted file when outputFormat is 'buffer'.

Examples

Example 1: Decrypt an audio file

mediaType = audio, mediaUrl = https://example.com/encrypted_audio, mediaKey = , outputFormat = base64

Example 2: Decrypt a video as a binary buffer

mediaType = video, mediaUrl = https://example.com/encrypted_video, mediaKey = , outputFormat = buffer

Example 3: Process a media item with error handling enabled

mediaType = image, mediaUrl = https://example.com/encrypted_image, mediaKey = , outputFormat = base64 (default)

Discussion