matrix-org / vodozemac

An implementation of Olm and Megolm in pure Rust.
Apache License 2.0
175 stars 31 forks source link
cryptography double-ratchet encryption matrix rust

vodozemac

vodozemac is an implementation of Olm (Double Ratchet) and Megolm






vodozemac is a pure Rust implementation of the Olm and Megolm cryptographic ratchets, offering a high-level API for straightforward creation of secure communication channels using these ratchets.

Designed as a modern alternative to the libolm cryptographic library, which is used for end-to-end encryption in Matrix, vodozemac provides not only the Olm and Megolm ratchets but also additional cryptographic features useful for developing Matrix clients, such as SAS and the integrated encryption scheme outlined in MSC4108.

Documentation

Explore how to implement end-to-end encryption in our documentation.

Installation

To install add the following to your project's Cargo.toml:

[dependencies]
vodozemac = "0.8.1"

Security Notes

This crate has received one security audit by Least Authority, with no significant findings.