• Preparing search index...
  • The search index is not available
@substrate-system/x3dh
  • @substrate-system/x3dh
  • symmetric
  • deriveKeys

Function deriveKeys

  • deriveKeys(
        key: CryptographyKey,
        nonce: Uint8Array,
    ): Promise<{ commitment: Uint8Array; encKey: CryptographyKey }>

    Derive an encryption key and a commitment hash using HMAC-SHA256.

    Parameters

    • key: CryptographyKey
    • nonce: Uint8Array

    Returns Promise<{ commitment: Uint8Array; encKey: CryptographyKey }>

    • Defined in symmetric.ts:322

Settings

Member Visibility
@substrate-system/x3dh
  • Loading...

Generated using TypeDoc