decrypt_message

Function decrypt_message 

Source
pub fn decrypt_message(
    bridge: &mut SignalBridge,
    peer: &str,
    ciphertext: &[u8],
) -> Result<DecryptionResult, Box<dyn Error>>
Expand description

Decrypts an incoming Signal Protocol message

§Arguments

  • bridge - Signal bridge instance
  • peer - Sender’s RDX fingerprint or Nostr pubkey (peer hint)
  • ciphertext - Encrypted message bytes