Docs.rs
huddle-core-0.7.2
huddle-core 0.7.2
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
richer-richard
Dependencies
argon2 ^0.5
normal
async-trait ^0.1
normal
base64 ^0.22
normal
chacha20poly1305 ^0.10
normal
dirs ^6
normal
ed25519-dalek ^2
normal
futures ^0.3
normal
hex ^0.4
normal
hkdf ^0.13
normal
libp2p ^0.56
normal
rand ^0.8
normal
rusqlite ^0.39
normal
serde ^1
normal
serde_json ^1
normal
sha2 ^0.11
normal
thiserror ^2
normal
tokio ^1
normal
tracing ^0.1
normal
vodozemac ^0.10
normal
x25519-dalek ^2
normal
tempfile ^3
dev
tracing-subscriber ^0.3
dev
Versions
38.44%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module crypto
huddle_
core
0.7.2
Module crypto
Module Items
Re-exports
Modules
Functions
In crate huddle_
core
huddle_core
Module
crypto
Copy item path
Source
Re-exports
§
pub use megolm::
RoomCrypto
;
Modules
§
dm
huddle 0.7.1: End-to-end DM key derivation via Ed25519→X25519 ECDH.
megolm
Megolm group session management per room.
passphrase
Passphrase-derived key wrapping for Megolm session keys.
sas
Short-Authentication-String (SAS) verification — Phase G.
Functions
§
sign_
message
Wrap a
RoomMessage
into a
SignedRoomMessage
using the given identity’s signing key. Mirror of
verify_signed
; symmetric helper so phase B/F/G/etc. don’t each open-code the base64 dance.
verify_
signed
Verify a
SignedRoomMessage
envelope: