Home Reference Source
public class | source

Argon2BrowserWebAssembly

You can directly use an instance of this class. argon2BrowserWebAssembly

Method Summary

Public Methods
public

calcWorkerAsm(data: *)

public

calcWorkerBest(data: *): *

public

calcWorkerWasm(data: *)

public

async hash(data: *): *

public

async hashString(data: *): *

Private Methods
private

async _calcBest(params: *): *

private

_calculateHash(method: *, params: *): *

private

_calculateHashWorker(method: *, params: *): *

Public Methods

public calcWorkerAsm(data: *) source

Params:

NameTypeAttributeDescription
data *

public calcWorkerBest(data: *): * source

Params:

NameTypeAttributeDescription
data *

Return:

*

public calcWorkerWasm(data: *) source

Params:

NameTypeAttributeDescription
data *

public async hash(data: *): * source

Params:

NameTypeAttributeDescription
data *

Return:

*

public async hashString(data: *): * source

Params:

NameTypeAttributeDescription
data *

Return:

*

Private Methods

private async _calcBest(params: *): * source

Params:

NameTypeAttributeDescription
params *

Return:

*

private _calculateHash(method: *, params: *): * source

Params:

NameTypeAttributeDescription
method *
params *

Return:

*

private _calculateHashWorker(method: *, params: *): * source

Params:

NameTypeAttributeDescription
method *
params *

Return:

*