Skip to main content

Crate libsession

Crate libsession 

Source
Expand description

§libsession

Rust implementation of the Session messenger core library.

Provides cryptography, distributed configuration management, onion-routed networking, and protocol definitions used by Session clients (iOS, Android, Desktop).

§Modules

  • crypto – Cryptographic primitives: key generation, message encryption, blinding, hashing, and key conversion.
  • config – Distributed configuration management with merge-based conflict resolution for multi-device sync.
  • network – Onion-routed communication through the Session service node network.
  • protocol – Protocol constants, Session Pro proof types, and message padding.
  • proto – Generated protobuf bindings for Session message envelopes.
  • util – Shared utilities: bencode, compression, validation, logging.

Modules§

config
Distributed configuration management for multi-device sync. Distributed configuration management for multi-device sync.
crypto
Cryptographic primitives and message encryption. Cryptographic primitives and message encryption for Session.
network
Onion-routed networking through the Session service node network. Onion-routed networking through the Session service node network.
proto
Generated protobuf bindings for Session message envelopes and WebSocket messages. Generated protobuf bindings for Session protocol messages.
protocol
Protocol constants, Session Pro proof types, and message padding. Session protocol constants, Pro proof types, and message padding.
util
Shared utilities: bencode, compression, Session ID validation, logging. Shared utilities for Session.