4f2d072016-01-25Martin Nilsson #pike __REAL_VERSION__ #pragma strict_types #require constant(System.hw_random) //! This class implements a random generator based on the hardware //! generator available on some system. Currently only supports Intel //! RDRAND CPU extension. inherit Builtin.RandomInterface; string(8bit) random_string(int(0..) length) { return System.hw_random(length); }