KyberKEMKeyPair

class KyberKEMKeyPair(val encapsulationKey: KyberEncapsulationKey, val decapsulationKey: KyberDecapsulationKey)

A class for ML-KEM Encapsulation and Decapsulation Key Pairs.

This class contains the Encapsulation and Decapsulation Key.

Author

Ron Lauren Hombre

Constructors

Link copied to clipboard
constructor(encapsulationKey: KyberEncapsulationKey, decapsulationKey: KyberDecapsulationKey)

Stores the Encapsulation Key and the Decapsulation Key as a pair.

Functions

Link copied to clipboard

Create an independent copy from an untrusted source.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Deep equality check.

Link copied to clipboard
open override fun hashCode(): Int