• Generates client-side session encryption keys. Uses a key pair and a peer's public key to generate the shared key.

    Parameters

    • myKeyPair: KeyPair
    • theirPublicKey: Uint8Array
    • hash: (new () => Hash) = BLAKE2b

    Returns SessionKeys