messtar 0.4.4

Messtar — custom encryption protocol built with X25519, HKDF and AES-256-GCM
Documentation

Messtar

Crates.io Version Build Status License Last Commit

Messtar is a custom, lightweight encryption protocol written in Rust, designed for secure end-to-end data transmission. It ensures confidentiality, integrity, and mutual authentication.

Features

  • Key Exchange: X25519 Diffie-Hellman for perfect forward secrecy
  • Key Derivation: HKDF-SHA256
  • Encryption: AES-256-GCM
  • Authentication: Ed25519 mutual identity verification during handshake
  • Security: Replay attack protection, strict packet freshness, and automatic key ratcheting
  • Transport: Optional async TCP layer built on tokio and postcard

Installation

[dependencies]

# Core protocol

messtar = "0.4.2"



# With async TCP transport layer

messtar = { version = "0.4.2", features = ["transport"] }