use ;
/// Bittorrent NodeId.
pub type NodeId = ShaHash;
/// Bittorrent PeerId.
pub type PeerId = ShaHash;
/// Bittorrent InfoHash.
pub type InfoHash = ShaHash;
/// Length of a NodeId.
pub const NODE_ID_LEN: usize = SHA_HASH_LEN;
/// Length of a PeerId.
pub const PEER_ID_LEN: usize = SHA_HASH_LEN;
/// Length of an InfoHash.
pub const INFO_HASH_LEN: usize = SHA_HASH_LEN;