FSPXI:GenerateRandomBytes

FSPXI:GenerateRandomBytes

Request #

Index WordDescription
0Header code [0x004800C2]
1Buffer size
2(Buffer size << 8) | 4
3Buffer pointer

Response #

Index WordDescription
0Header code
1Result code

Description #

This command generates random bytes and stores them in the specified output pointer with the specified size.

Used in FS11 to generate the 8-byte unique identifier in DIFF headers.