KyberEncapsulationKey

class KyberEncapsulationKey : KyberKEMKey

A class for ML-KEM Encapsulation Keys.

This class contains the raw bytes of the Decryption Key.

Author

Ron Lauren Hombre

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:JvmName(name = "getFullBytes")
val fullBytes: ByteArray

All the bytes of the Encapsulation Key.

Link copied to clipboard

Functions

Link copied to clipboard

Create an independent copy from an untrusted source.

Link copied to clipboard

Encapsulates this KyberEncapsulationKey into a KyberCipherText and generates a Shared Secret Key.

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

Deep equality check.

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