p2p2 0.0.1

NAT Traversal for P2P communication
Documentation
1
2
3
4
5
6
7
8
use serde::{Deserialize, Serialize};
use sodiumoxide::crypto::secretbox;

#[derive(Serialize, Deserialize)]
pub(super) struct CipherText {
    pub(super) nonce: [u8; secretbox::NONCEBYTES],
    pub(super) ciphertext: Vec<u8>,
}