Structs§
- WgKeypair
- A WireGuard static keypair (Curve25519).
Functions§
- generate_
keypair - Generate a fresh WireGuard keypair using the OS CSPRNG.
- new_
tunnel - Build a
boringtuntunnel state machine for one peer. - public_
key_ from_ hex - Parse a 32-byte public key from a 64-character hex string.
- public_
key_ hex - Render a WireGuard public key as lowercase hex.