# Function crypto::community_id

> `CommunityId = SHA3-256("zaun/community-id/v1" ‖ 0x00 ‖ genesis root key)`, over the 1 985-byte encoding including the suite byte. Always the **genesis** key.

`zaun_community_protocol::crypto::community_id` · Function

```rust
pub fn community_id(genesis_root: &PublicKey) -> CommunityId
```

`CommunityId = SHA3-256("zaun/community-id/v1" ‖ 0x00 ‖ genesis root key)`, over the
1 985-byte encoding including the suite byte. Always the **genesis** key.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/crypto/hash/fn.community_id.html)
