Home > hls.js > Decrypter > softwareDecrypt

Decrypter.softwareDecrypt() method

Signature:

softwareDecrypt(data: Uint8Array, key: ArrayBuffer, iv: ArrayBuffer, aesMode: DecrypterAesMode): ArrayBuffer | null;

Parameters

Parameter

Type

Description

data

Uint8Array

key

ArrayBuffer

iv

ArrayBuffer

aesMode

DecrypterAesMode

**Returns:**

ArrayBuffer | null