Skip to content

@stellar-passkey/core API


@stellar-passkey/core API / sha256

Function: sha256()

sha256(data): Promise<Uint8Array<ArrayBufferLike>>

Defined in: packages/core/src/webauthn/sha256.ts:12

Async SHA-256 of an arbitrary byte buffer.

Parameters

data

Uint8Array

Returns

Promise<Uint8Array<ArrayBufferLike>>

MIT — SCF-43 RFP submission (2026). Status: pre-1.0.