/ core / src / identity / mod.rs
mod.rs
 1  //! Identity management for Dead Drop.
 2  //!
 3  //! This module provides high-level identity operations including:
 4  //!
 5  //! - QR code payload generation and parsing for contact exchange
 6  //! - Identity fingerprint formatting
 7  //!
 8  //! # QR Code Exchange
 9  //!
10  //! Users exchange public keys by scanning each other's QR codes.
11  //! The QR payload contains:
12  //!
13  //! - Version byte for future compatibility
14  //! - Ed25519 identity public key (32 bytes)
15  //! - X25519 exchange public key (32 bytes)
16  //!
17  //! The payload is base64-encoded for QR code compatibility.
18  
19  pub mod qrcode;
20  
21  pub use qrcode::{QrPayload, QR_PAYLOAD_VERSION};