Home > hls.js > Decrypter > decrypt
Decrypter.decrypt() method
Signature:
decrypt(data: Uint8Array | ArrayBuffer, key: ArrayBuffer, iv: ArrayBuffer, aesMode: DecrypterAesMode): Promise<ArrayBuffer>;
Parameters
Parameter |
Type |
Description |
---|---|---|
data |
Uint8Array | ArrayBuffer | |
key |
ArrayBuffer | |
iv |
ArrayBuffer | |
aesMode |
Promise<ArrayBuffer>