API Reference stamp v#0.1.0

Copy Markdown View Source

Modules

Stamp is a fast and flexible Snowflake-flavored ID generator based on 8-byte integers with optional encoding.

Stamp codec behaviour.

Codec using encoding based on alphanumeric alphabet excluding easily mistakable characters: 0, O, l, and I. It's commonly used in blockchain thanks to its properties.

Codec using encoding based on alphanumeric characters. Compared to Base64, it looks better and is easier to select with a mouse (by double-clicking).

The codec puts integer ID in string form, removing the need for conversion.

Configuration structure for Stamp. Each stamp is generated and later processed according to the configuration parameters.