class documentation

`class _DHGroup14SHA1: (source)`

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

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. |

`int`

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