interface documentation
class _IPQHybridKexAlgorithm(_IKexAlgorithm): (source)
Known implementations: twisted.conch.ssh._kex._MLKEM768X25519SHA256
An _IPQHybridKexAlgorithm describes a PQ/T Hybrid key exchange algorithm.
| Attribute | c |
An int giving the classical component public key length in bytes. |
| Attribute | c |
An int giving the PQ component public key length in bytes. |
Inherited from _IKexAlgorithm:
| Attribute | hash |
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. |