randomBytes | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns byteCount random bytes. | ||||||
Introduced | 4.6 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Property: randomSeed Function: random | ||||||
Description | Use the randomBytes function to generate cryptographic-quality random data. The randomBytes function returns byteCount random bytes using the OpenSSL library's random data generator to do so. The random data is derived from non-predictable sources where possible, meaning that it can (for the most part) be considered truly random. This is contrast to the random function which uses a pseudo-random number generator and randomSeed value.
| ||||||
Tags | math |