انتقل إلى المحتوى الرئيسي

Function: chainHashOf()

chainHashOf(prev, entryHash): Uint8Array

Defined in: packages/audit-client/src/canonical.ts:102

The chain link: SHA-256(prev ‖ entryHash).

Parameters​

prev​

Uint8Array

The previous record's link; GENESIS_HASH for the first.

entryHash​

Uint8Array

From entryHashOf.

Returns​

Uint8Array

The new link.