@blockchaincommons/crypto - v1.0.0-beta.3
    Preparing search index...

    Function deriveAgreementPrivateKey

    • The stack's agreement-key derivation: HKDF-SHA-256(keyMaterial, salt "agreement") → 32 bytes, an X25519 private key.

      Parameters

      • keyMaterial: Uint8Array

      Returns Uint8Array<ArrayBuffer>

      InvalidParameter unless keyMaterial is a Uint8Array.