def random(self, num_bytes):
return pyhsm.basic_cmd.YHSM_Cmd_Random(self.stick, num_bytes).execute()<EOL>
Get random bytes from YubiHSM.

The random data is DRBG_CTR seeded on each startup by a hardware TRNG,
so it should be of very good quality.

@type num_bytes: integer

@return: Bytes with random data
@rtype: string

@see: L{pyhsm.basic_cmd.YHSM_Cmd_Random}