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 IPv6 address

subnet

Calculates returns a subnet ID for any identifier