Go to the latest version of this document.

# ``twisted`.`conch`.`ssh`.`_kex`.`_Curve25519SHA256``

class documentation

`class _Curve25519SHA256: (source)`

Implements interfaces: `twisted.conch.ssh._kex._IEllipticCurveExchangeKexAlgorithm`

View In Hierarchy

Elliptic Curve Key Exchange using Curve25519 and SHA256. Defined in https://datatracker.ietf.org/doc/draft-ietf-curdle-ssh-curves/.

Class Variable | `preference` | An `int` giving the preference of the algorithm when negotiating key exchange. Algorithms with lower precedence values are more preferred.

preference: `int` = (source)
from `twisted.conch.ssh._kex._IKexAlgorithm`

An `int` giving the preference of the algorithm when negotiating key exchange. Algorithms with lower precedence values are more preferred.