Home Reference Source
import AESDecryptor from 'hls.js/src/crypt/aes-decryptor.js'
public class | source

AESDecryptor

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

invSBox: *

public
public

key: *

public
public

keySize: *

public

ksRows: *

public
public

sBox: *

public

Method Summary

Public Methods
public

decrypt(inputArrayBuffer: *, offset: *, aesIV: *, removePKCS7Padding: *): *

public
public

expandKey(keyBuffer: *)

public
public
public

uint8ArrayToUint32Array_(arrayBuffer: *): *

Public Constructors

public constructor() source

Public Members

public invKeySchedule: * source

public invSBox: * source

public invSubMix: undefined[] source

public key: * source

public keySchedule: * source

public keySize: * source

public ksRows: * source

public rcon: number[] source

public sBox: * source

public subMix: undefined[] source

Public Methods

public decrypt(inputArrayBuffer: *, offset: *, aesIV: *, removePKCS7Padding: *): * source

Params:

NameTypeAttributeDescription
inputArrayBuffer *
offset *
aesIV *
removePKCS7Padding *

Return:

*

public destroy() source

public expandKey(keyBuffer: *) source

Params:

NameTypeAttributeDescription
keyBuffer *

public initTable() source

public networkToHostOrderSwap(word: *): * source

Params:

NameTypeAttributeDescription
word *

Return:

*

public uint8ArrayToUint32Array_(arrayBuffer: *): * source

Params:

NameTypeAttributeDescription
arrayBuffer *

Return:

*