gitlab.com/eightsquared/ident (go): Package ident provides functions for rendering 8x8 identicons from 32-bit integers in both vector and raster formats.  To use this package, first convert the data to be represented as an identicon to a uint32. For example, if you have an IPv4 address:  Or if you have arbitrary byte data, consider a checksum:  You can now render i to any io.Writer. For example, to send an SVG to standard output:  This package renders 8x8 identicons with horizontal symmetry. As such, if the given size is not evenly divisible by eight, it is rounded down until it is. An identicon can be no smaller than eight pixels.  The algorithm employed by this library uses three bytes of the input to determine the block layout and the remaining byte to determine the color. Put another way, each block pattern appears 256 times with a slightly different color.
Keywords: golang|identicon