Skip to content

Function crypto::voice::kid_for

zaun_community_protocol::crypto::voice::kid_for · Function

pub fn kid_for(session: &VoiceSessionId, epoch: u32) -> u64

The KID of a sender’s epoch: the first 3 bytes of SHA3-256("zaun/v1/voice-kid" ‖ session) above the 32-bit epoch.

Full rustdoc page