crypto.uuid
crypto.uuid
Function
Generate UUID v4 string.
Syntax
crypto().uuid()
Parameters
None.
Return value
| Type | Description |
|---|---|
| String | UUID v4 string. |
Code Example
id = crypto().uuid() // Example output: 550e8400-e29b-41d4-a716-446655440000 print id
Notes
- uuid does not rely on the text passed in during crypto construction.