(self)
return random.randint(0, self.tec_arithmetic.get_field_order() - 1)
Generate a random integer over [0, q - 1], where q is the order of the Galois field used
        :return:
Generate a random integer over [0, q - 1], where q is the order of the Galois field used
        :return:
Generate a random integer over [ 0 q - 1 ] where q is the order of the Galois field used : return :
def _gen_random_scalar(self):
        """
        Generate a random integer over [0, q - 1], where q is the order of the Galois field used
        :return:
        """
        return random.randint(0, self.tec_arithmetic.get_field_order() - 1)
def _gen_random_scalar ( self ) : return random . randint ( 0 , self . tec_arithmetic . get_field_order ( ) - 1 )