Crate ipgen[][src]

Official implementation of the IPGen Spec

This library is the official reference implementation of the IPGen Spec for generating unique and reproducible IPv4 and IPv6 addresses.

It exposes only two simple functions ip and subnet.

Functions

ip

Generates an IP address

subnet

Computes a subnet ID for any identifier