class documentation

class _MLKEM768X25519SHA256: (source)

Implements interfaces: twisted.conch.ssh._kex._IPQHybridKexAlgorithm

View In Hierarchy

PQ/T Hybrid Key Exchange using ML-KEM-768 and X25519 with SHA256.

Class Variable c_pk1_length An int giving the classical component public key length in bytes.
Class Variable c_pk2_length An int giving the PQ component public key length in bytes.
Class Variable preference An int giving the preference of the algorithm when negotiating key exchange. Algorithms with lower precedence values are more preferred.
c_pk1_length: int = (source)

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

c_pk2_length: int = (source)

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

preference: int = (source)

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