interface documentation

class _IPQHybridKexAlgorithm(_IKexAlgorithm): (source)

Known implementations: twisted.conch.ssh._kex._MLKEM768X25519SHA256

View In Hierarchy

An _IPQHybridKexAlgorithm describes a PQ/T Hybrid key exchange algorithm.

Attribute c_pk1_length An int giving the classical component public key length in bytes.
Attribute c_pk2_length An int giving the PQ component public key length in bytes.

Inherited from _IKexAlgorithm:

Attribute hashProcessor A callable hash algorithm constructor (e.g. hashlib.sha256) suitable for use with this key exchange algorithm.
Attribute preference An int giving the preference of the algorithm when negotiating key exchange. Algorithms with lower precedence values are more preferred.
c_pk1_length = (source)

An int giving the classical component public key length in bytes.

c_pk2_length = (source)

An int giving the PQ component public key length in bytes.