Kodium Ratchet

//kodium/io.kodium.ratchet

Package-level declarations

Types

Name
Summary

[common] class DoubleRatchetSessionarrow-up-right The core implementation of the Double Ratchet Algorithm.

[common] object HKDFarrow-up-right An implementation of the HMAC-based Extract-and-Expand Key Derivation Function (HKDF) using HMAC-SHA256 as the underlying pseudorandom function (PRF).

[common] class PQDoubleRatchetSessionarrow-up-right The core implementation of the Post-Quantum Double Ratchet Algorithm.

[common] data class PQRatchetHeaderarrow-up-right(val dh: ByteArrayarrow-up-right, val kemCiphertext: ByteArrayarrow-up-right, val pn: Intarrow-up-right, val n: Intarrow-up-right) Represents the plaintext header attached to every message sent within a Post-Quantum Double Ratchet session.

[common] data class PQRatchetMessagearrow-up-right(val header: PQRatchetHeaderarrow-up-right, val ciphertext: ByteArrayarrow-up-right) A composite structure containing both the plaintext PQC Ratchet header and the encrypted payload.

[common] object PQXDHarrow-up-right PQXDH (Post-Quantum Extended Triple Diffie-Hellman) Key Agreement Protocol.

[common] data class RatchetHeaderarrow-up-right(val dh: ByteArrayarrow-up-right, val pn: Intarrow-up-right, val n: Intarrow-up-right) Represents the plaintext header attached to every message sent within a Double Ratchet session.

[common] data class RatchetMessagearrow-up-right(val header: RatchetHeaderarrow-up-right, val ciphertext: ByteArrayarrow-up-right) A composite structure containing both the plaintext Ratchet header and the encrypted payload.

[common] object X3DHarrow-up-right X3DH (Extended Triple Diffie-Hellman) Key Agreement Protocol.

Last updated