Skip to content

groupSecurityStoreSnapshotCommitment

groupSecurityStoreSnapshotCommitment(snapshot, key): Promise<Uint8Array<ArrayBufferLike>>

Defined in: packages/core/src/group-security-store-commitment.ts:123

Canonically commit every security-relevant byte in a durable store snapshot. Array iteration order is ignored; duplicate identities and ambiguous object shapes fail closed. The complete encoding is built synchronously before the digest begins, so caller mutation during Web Crypto cannot change the vote.

GroupStateStoreSnapshot

GroupStateStoreKey

Promise<Uint8Array<ArrayBufferLike>>