Contents

sharedSecretFromKeyAgreement(with:)

Performs a Diffie-Hellman Key Agreement.

Declaration

func sharedSecretFromKeyAgreement(with publicKeyShare: Self.PublicKey) throws -> SharedSecret

Parameters

  • publicKeyShare:

    The public key share.

Return Value

The resulting key agreement result.