Skip to main content

derive_overlay_addr

Function derive_overlay_addr 

Source
pub fn derive_overlay_addr(wireguard_pubkey: &[u8]) -> String
Expand description

Derive a deterministic ULA IPv6 overlay address (fd00::/8) from a WireGuard public key — a self-certifying (CGA-like) address: it is a hash of the key, so it cannot be spoofed.