# ockam_key_exchange_x3dh
[![crate][crate-image]][crate-link]
[![docs][docs-image]][docs-link]
[![license][license-image]][license-link]
[![discuss][discuss-image]][discuss-link]
Ockam is a library for building devices that communicate securely, privately
and trustfully with cloud services and other devices.
In order to support a variety of key exchange protocols [Ockam][main-ockam-crate-link] crate uses an abstract Key Exchange trait.
This crate provides an implementation of Key Exchange using [X3DH][x3dh-protocol] protocol.
The main [Ockam][main-ockam-crate-link] has optional dependency on this crate.
## Usage
Add this to your `Cargo.toml`:
```
[dependencies]
ockam_key_exchange_x3dh = "0.71.0"
```
## License
This code is licensed under the terms of the [Apache License 2.0][license-link].
[main-ockam-crate-link]: https://crates.io/crates/ockam
[crate-image]: https://img.shields.io/crates/v/ockam_key_exchange_x3dh.svg
[crate-link]: https://crates.io/crates/ockam_key_exchange_x3dh
[docs-image]: https://docs.rs/ockam_key_exchange_x3dh/badge.svg
[docs-link]: https://docs.rs/ockam_key_exchange_x3dh
[license-image]: https://img.shields.io/badge/License-Apache%202.0-green.svg
[license-link]: https://github.com/build-trust/ockam/blob/HEAD/LICENSE
[discuss-image]: https://img.shields.io/badge/Discuss-Github%20Discussions-ff70b4.svg
[discuss-link]: https://github.com/build-trust/ockam/discussions
[x3dh-protocol]: https://signal.org/docs/specifications/x3dh/