Skip to main content

PskId

Type Alias PskId 

Source
pub type PskId = String;
Expand description

A stable identifier for a PSK, derived from hex(SHA256(psk)[0..8]).

Used as a lookup key to match incoming handshakes to the correct pending pairing. Today this maps to in-memory pending pairings; in the future it could index persistent/reusable PSKs from a PskStore.

Aliased Typeยง

pub struct PskId { /* private fields */ }