modulus in BitVector
<p>what is modulus in BitVector? I haven't found anything online to explain what it does. I tried to set it to a bigger number so it didn't mess with my calculations in GF $2^256$</p>

<pre><code>class AXU():    
    def __init__(self, sec_param):
        self.sec_param = sec_param
    def getHash(self, t):
        modulus = BitVector.BitVector(bitstring='100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000') #choose something larger than 2^256
        a, b = random.randrange(self.sec_param) , random.randrange(self.sec_param)
        a_vector, b_vector  = BitVector.BitVector(intVal=a), BitVector.BitVector(intVal=b) 
        t_vector = BitVector.BitVector(textstring=t)
        return a_vector.gf_multiply_modular(t_vector, modulus, self.sec_param) ^ b_vector
</code></pre>

<p>In the documentation the modulus is </p>

<pre><code>modulus = BitVector.BitVector( bitstring='100011011')  # AES modulus, from the documentation on BitVector
</code></pre>

<p>where the bitstring in decimals is 286. </p>