sharedSecretFromKeyAgreement(with:)

    Computes a shared secret with the provided public key from another party.

    ECDH.swift:1359
    func sharedSecretFromKeyAgreement(with publicKeyShare: P521.KeyAgreement.PublicKey) throws -> SharedSecret

    Parameters

    publicKeyShare

    The public key from another party to be combined with the private key from this user to create the shared secret.

    Returns

    The computed shared secret.

    Other members in extension

    Type members

    Instance members