Curve25519.KeyAgreement.PrivateKey A Curve25519 private key used for key agreement. Declarationstruct PrivateKey TopicsCreating a private keyinit()init(rawRepresentation:)Reporting the private keyrawRepresentationFinding the public keypublicKeyCreating a shared secretsharedSecretFromKeyAgreement(with:)SharedSecret RelationshipsConforms ToCopyableDiffieHellmanKeyAgreementEscapableHPKEDiffieHellmanPrivateKeyHPKEDiffieHellmanPrivateKeyGenerationSendableSendableMetatype See AlsoUsing keysCurve25519.KeyAgreement.PublicKey