|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
Random identifier generation shared across A11 subsystems. More...
#include <cstdint>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | a11 |
Functions | |
| std::uint64_t | a11::RandomUint64 () |
| 64 random bits from a thread-local generator. | |
| std::string | a11::NewUuid () |
| Generate a random RFC 4122 version 4 UUID in canonical text form. | |
| std::string | a11::NewShortId (int hex_digits=12) |
| Generate a short random identifier as lowercase hexadecimal. | |
| std::string | a11::NewStreamId (std::string_view prefix="") |
Generate a stream identifier: prefix and 128 random bits as hex. | |
Random identifier generation shared across A11 subsystems.