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

AESDecryptor

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public
public
public
public
public
public
public

Method Summary

Public Methods
public

decrypt(inputArrayBuffer: ArrayBuffer, offset: number, aesIV: ArrayBuffer): *

public

expandKey(keyBuffer: ArrayBuffer)

public
public
public

Public Constructors

public constructor() source

Public Members

public invKeySchedule: Uint32Array source

public invSBox: Uint32Array source

public invSubMix: Array source

public key: Uint32Array source

public keySchedule: Uint32Array source

public keySize: number source

public ksRows: number source

public rcon: Array source

public sBox: Uint32Array source

public subMix: Array source

Public Methods

public decrypt(inputArrayBuffer: ArrayBuffer, offset: number, aesIV: ArrayBuffer): * source

Params:

NameTypeAttributeDescription
inputArrayBuffer ArrayBuffer
offset number
aesIV ArrayBuffer

Return:

*

public expandKey(keyBuffer: ArrayBuffer) source

Params:

NameTypeAttributeDescription
keyBuffer ArrayBuffer

public initTable() source

public networkToHostOrderSwap(word: undefined): * source

Params:

NameTypeAttributeDescription
word undefined

Return:

*

public uint8ArrayToUint32Array_(arrayBuffer: undefined): * source

Params:

NameTypeAttributeDescription
arrayBuffer undefined

Return:

*