random_number
Fair, cryptographically secure random integers (you cannot produce real randomness yourself). min and max are inclusive. unique=true for no repeats (raffles, lotto, picking winners). For a coin flip use min 0, max 1; for dice use min 1, max 6.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | default 100 | |
| min | No | default 1 | |
| sort | No | ||
| count | No | default 1 | |
| unique | No |