Seed a random number generator

[#78548526]

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
Auto-merge remote-tracking branch 'upstream/master'