#nostr #mls #openmls

nrc-mls

A simplified interface to build secure messaging apps on nostr with MLS

1 unstable release

0.1.0 Sep 5, 2025

#978 in Cryptography


Used in nrc

MIT license

295KB
5.5K SLoC

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

Dependencies

~23MB
~410K SLoC