Go to the latest version of this document.

# ``twisted`.`conch`.`ssh`.`_kex`.`_DHGroup14SHA1``

class documentation

`class _DHGroup14SHA1: (source)`

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

View In Hierarchy

Diffie-Hellman key exchange with SHA-1 as HASH and Oakley Group 14 (2048-bit MODP Group). Defined in RFC 4253, 8.2.

Class Variable | `generator` | An `int` giving the generator number used in Diffie-Hellman key exchange, or `None` if not applicable. (This is not related to Python generator functions.)
Class Variable | `preference` | An `int` giving the preference of the algorithm when negotiating key exchange. Algorithms with lower precedence values are more preferred.
Class Variable | `prime` | An `int` giving the prime number used in Diffie-Hellman key exchange, or `None` if not applicable.

generator: `int` = (source)
from `twisted.conch.ssh._kex._IFixedGroupKexAlgorithm`

An `int` giving the generator number used in Diffie-Hellman key exchange, or `None` if not applicable. (This is not related to Python generator functions.)

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.

prime = (source)
from `twisted.conch.ssh._kex._IFixedGroupKexAlgorithm`

An `int` giving the prime number used in Diffie-Hellman key exchange, or `None` if not applicable.