@did-btc1/smt / sha256
Function: sha256()
> sha256(...inputs
): Uint8Array
Defined in: utils.ts:9
sha256 returns a 32-byte SHA-256 digest of the concatenated inputs. In Go, the equivalent is sha256.New() + Write(...).
Parameters
inputs
...(Uint8Array
<ArrayBufferLike
> | Buffer
<ArrayBufferLike
>)[]
Returns
Uint8Array