ApiCoreFunctions
Function: sha256()
function sha256(data): Promise<Uint8Array<ArrayBufferLike>>;Defined in: packages/core/src/utils/hash.ts:10
Computes the SHA-256 hash of the given data.
Parameters
| Parameter | Type |
|---|---|
data | Uint8Array |
Returns
Promise<Uint8Array<ArrayBufferLike>>