ApiCoreFunctions
Function: onePerSecret()
function onePerSecret(material): Promise<CryptoKey>;Defined in: packages/core/src/records/rules.ts:74
What a space's onePer keys are keyed with (spec 02 §7.3): from its first
space key in a private space, which every reader holds and which never
changes, so only readers can compute or test a key; from its id in a
public one, where anyone can.
Parameters
| Parameter | Type |
|---|---|
material | | { spaceKey: Uint8Array; } | { spaceId: string; } |
Returns
Promise<CryptoKey>