minca
ApiCoreFunctions

Function: deriveInboxKeyBytes()

function deriveInboxKeyBytes(contactKey, gen): Promise<Uint8Array<ArrayBufferLike>>;

Defined in: packages/core/src/identity/contact-key.ts:80

An inbox key, which knocks are sealed to (spec 07 §1). Not the contact key, whose public half is on every profile: an inbox key says nothing about whose it is.

Parameters

ParameterTypeDescription
contactKeyUint8ArrayThe contact key's private scalar (deriveContactKeyBytes)
gennumber-

Returns

Promise<Uint8Array<ArrayBufferLike>>

On this page