Interface: HashingAlgorithm

Methods

hash()

hash(data): ArrayBuffer | Promise<ArrayBuffer>

Function that hashes the data using the hashing chosen algorithm.

Parameters

======= data

string | ArrayBuffer | Uint8Array<ArrayBufferLike>

Returns

ArrayBuffer | Promise<ArrayBuffer>