pub fn invite_token(code: &str, endpoint: &[u8; 32]) -> Option<String>Expand description
The token whoever holds invite code connects to the server’s relay
with, as endpoint (its key’s bytes): sf-invite.1. and the base64url
of BLAKE3 keyed with the code’s hash, over the key. It proves the code
without carrying it, and admits no other endpoint: the relay’s
handshake proved the key it was made for. None for a code that
cannot be one.