code: def generate_aead_random(self, nonce, key_handle, num_bytes):
          
          return pyhsm.aead_cmd.YHSM_Cmd_AEAD_Random_Generate(self.stick, nonce, key_handle, num_bytes).execute()
docs: Generate a random AEAD block using the YubiHSM internal DRBG_CTR random generator.
  
          To generate a secret for a YubiKey, use public_id as nonce.
  
          @param nonce: The nonce to use when creating the AEAD
          @param key_handle: The key handle that can encrypt the random data into an AEAD
          @param num_bytes: Number of random data bytes to put inside the AEAD
          @type nonce: string
          @type key_handle: integer or string
          @type num_bytes: integer
  
          @returns: The generated AEAD on success.
          @rtype: L{YHSM_GeneratedAEAD}
  
          @see: L{pyhsm.aead_cmd.YHSM_Cmd_AEAD_Random_Generate}