Zhenga

Private P2P network

Howto

Quick start

The minimal Zhenga setup requires just a few steps. 1. Hardware Demo Zhenga network can run on any computer running Windows, Linux, FreeBSD and macOS. 2. The binaries Download latest Zhenga for your operating system and unzip to a separate directory. 3. System driver Install Dokan for Windows or macFUSE for macOS. Both are filesystem-in-userspace drivers. There is nothing to install on Linux and FreeBSD as most distributions come with fuse by default. Read on →

Quick pair

Pairing 2 computers is easy with the example configuration files. 1. Hardware Two devices running Windows, Linux, FreeBSD and macOS. 2. The binaries Download latest Zhenga on each of the devices and unzip to a separate directory. 3. System driver Install Dokan on each of Windows devices or macFUSE on each of macOS devices. These are filesystem-in-userspace drivers. There is nothing to install on Linux and FreeBSD as most distributions come with fuse by default. Read on →

Step-by-step manual

Every node in Zhenga network has independent configuration stored in a single file. Configuration file Node IDs Secrets Listening Connections Shares Templates Write access Conclusion 1. Configuration file Configuration is a JSON file with arbitrary name in UTF-8 encoding. 2. Node IDs Every network node is assigned a unique 8-byte ID. The easiest is to use random bytes for each node ID. Random bytes can be taken at https://www. Read on →

Cicada cipher

Zhenga traffic is secured by the One-time pad encryption - the simplest and lightweight and at the same time the strongest encryption ever. The most important part of the one-time pad cipher is the pad. Zhenga uses original schema to generate pseudo-random pads. It multiplies several shorter keys of prime length to get much longer non-repeating key sequence without heavy CPU utilization. This approach is inspired by periodical cicadas that emerge every 13 and 17 years which make their populations meet once in every 221 years. Read on →