> ## Documentation Index
> Fetch the complete documentation index at: https://docs.buckspay.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Function: contractSalt()

# Function: contractSalt()

> **contractSalt**(`passkeyPublicKey`): `Buffer`

Defined in: [packages/accounts/src/oz-contract/resolveAddress.ts:26](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/accounts/src/oz-contract/resolveAddress.ts#L26)

MUST match facilitator `contractSalt`: sha256(pubkeyBytes). Uses the
stellar-sdk's isomorphic `hash` (NOT node:crypto) so the SDK runs in the browser -
same SHA-256 as the facilitator, so the derivation stays byte-identical.

## Parameters

### passkeyPublicKey

`string`

## Returns

`Buffer`
