Expand description

This module implements the ratchet tree component of MLS.

It exposes the Node enum that can contain either a LeafNode or a ParentNode.


TreeSync errors


This struct implements the MLS leaf node and contains a KeyPackage and potentially a corresponding HpkePrivateKey.

This struct implements the MLS parent node. It contains its public key, parent hash and unmerged leaves. Additionally, it may contain the private key corresponding to the public key.


Container enum for leaf and parent nodes.