Crypto Lib
    Preparing search index...

    Function hybridReceiveKeys

    • The keys a recipient tries, newest first: construction's v2 key, then its v1 key, which legacyKey derives from the two shared secrets.

      Parameters

      • recipX25519Sec: Uint8Array
      • recipMlKemSec: Uint8Array
      • ephPub: Uint8Array
      • mlKemCt: Uint8Array
      • construction: string
      • legacyKey: (ssClassical: Uint8Array, ssMlKem: Uint8Array) => Uint8Array

      Returns Uint8Array<ArrayBufferLike>[]