code: def new(cls) -> 'Generator':
          
          logger = logging.getLogger(__name__)
          logger.debug("Generator::new: >>>")
  
          c_instance = c_void_p()
          do_call(cls.new_handler, byref(c_instance))
  
          res = cls(c_instance)
  
          logger.debug("Generator::new: <<< res: %r", res)
          return res
docs: Creates and returns random generator point that satisfy BLS algorithm requirements.
          :return: BLS generator