| Crates.io | community-id |
| lib.rs | community-id |
| version | 0.2.4 |
| created_at | 2023-05-14 12:22:40.620089+00 |
| updated_at | 2025-09-17 12:02:39.160198+00 |
| description | This package provides a Rust implementation of the open Community ID flow hashing standard. |
| homepage | |
| repository | https://github.com/traceflight/rs-community-id |
| max_upload_size | |
| id | 864228 |
| size | 36,372 |
This package provides a Rust implementation of the open Community ID flow hashing standard.
"Community ID" is a separate specification for generating a likely-unique identifier for a network connection proposed by Corelight (the company behind Bro/Zeek). See community-id-spec
# Cargo.toml
[dependencies]
community-id = "0.2"
use std::net::Ipv4Addr;
use community_id::calculate_community_id;
let id = calculate_community_id(
0,
Ipv4Addr::new(1, 2, 3, 4).into(),
Ipv4Addr::new(5, 6, 7, 8).into(),
Some(1122),
Some(3344),
6,
Default::default(),
);
assert_eq!("1:wCb3OG7yAFWelaUydu0D+125CLM=", id.unwrap());
This project is licensed under either of
at your option.