random_hex¶
Hook for random_hex. Lists the contents of a directory.
Inputs¶
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| length | int | 8 | True | Number for number of digits - default 8 |
Arguments¶
| Position | Argument | Type |
|---|---|---|
| 1 | length | int |
Returns¶
str
Examples¶
random_hex¶
Creates a random hex of letters and digits
compact->: random_hex 4
expanded:
->: random_hex
length: 4
compact: a01f
expanded: a01f