Expand description
A Rust implementation of the Nostr Message Layer Security (MLS) protocol
This crate provides functionality for implementing secure group messaging in Nostr using the MLS protocol. It handles group creation, member management, message encryption/decryption, key management, and storage of groups and messages. The implementation follows the MLS specification while integrating with Nostr’s event system.
§Nostr Messaging Layer Security (MLS)
§Description
A simplified interface to build secure messaging apps on nostr with MLS (RFC 9420), according to NIP-EE.
§Changelog
All notable changes to this library are documented in the CHANGELOG.md.
§State
This library is in an ALPHA state, things that are implemented generally work but the API will change in breaking ways.
§Donations
rust-nostr
is free and open-source. This means we do not earn any revenue by selling it. Instead, we rely on your financial support. If you actively use any of the rust-nostr
libs/software/services, then please donate.
§License
This project is distributed under the MIT software license - see the LICENSE file for details
Re-exports§
pub use self::error::Error;
Modules§
- error
- Nostr MLS errors
- extension
- Nostr Group Extension functionality for MLS Group Context. This is a required extension for Nostr Groups as per NIP-104.
- groups
- Nostr MLS Group Management
- key_
packages - Nostr MLS Key Packages
- messages
- Nostr MLS Messages
- welcomes
- Nostr MLS Welcomes
Structs§
- Nostr
Mls - The main struct for the Nostr MLS implementation.
- Nostr
MlsProvider - Provider implementation for OpenMLS that integrates with Nostr.