Documentation home / Native Module API
Native Module API
UUID Helper
Generate a UUID-shaped version-4 identifier string.
Purpose
Generate a UUID-shaped version-4 identifier string.
Exported API
| Export | Role |
|---|---|
v4 | v4 native function or exported value |
Usage example
import gs_uuid; print(gs_uuid.v4());
The current source uses the C library pseudo-random generator. Do not treat this helper as a cryptographically secure UUID generator.
