Kodium Ratchet
Package-level declarations
Types
[common] class DoubleRatchetSession The core implementation of the Double Ratchet Algorithm.
[common] object HKDF An implementation of the HMAC-based Extract-and-Expand Key Derivation Function (HKDF) using HMAC-SHA256 as the underlying pseudorandom function (PRF).
[common] class PQDoubleRatchetSession The core implementation of the Post-Quantum Double Ratchet Algorithm.
[common] data class PQRatchetHeader(val dh: ByteArray, val kemCiphertext: ByteArray, val pn: Int, val n: Int) Represents the plaintext header attached to every message sent within a Post-Quantum Double Ratchet session.
[common] data class PQRatchetMessage(val header: PQRatchetHeader, val ciphertext: ByteArray) A composite structure containing both the plaintext PQC Ratchet header and the encrypted payload.
[common] object PQXDH PQXDH (Post-Quantum Extended Triple Diffie-Hellman) Key Agreement Protocol.
[common] data class RatchetHeader(val dh: ByteArray, val pn: Int, val n: Int) Represents the plaintext header attached to every message sent within a Double Ratchet session.
[common] data class RatchetMessage(val header: RatchetHeader, val ciphertext: ByteArray) A composite structure containing both the plaintext Ratchet header and the encrypted payload.
Last updated