sha256

fun sha256(data: Uint8Array): Uint8Array

Computes SHA-256 hash of the input.

Return

SHA-256 digest as Uint8Array (32 bytes)

Parameters

data

The data to hash as Uint8Array