.\uuid.axec
def generate_uuid(): string
Generates a random UUID v4 string. Returns a string in the format: xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx where x is any hexadecimal digit and y is one of 8, 9, A, or B.
def generate_random_hex(length: usize): string
Generates a random hexadecimal string of specified length. Useful for generating UUIDs of custom lengths or other random identifiers.