pub fn encode_record(record: &InviteRecord) -> Result<(String, Vec<u8>)>
Encode exactly one private CHK leaf, compatible with the web invite codec.