Hello,

I am using the function
B = sage.crypto.lattice.gen_lattice('modular',n,m,q).
It generates the basis of row vectors of a hard lattice based on the Ajtai[96] 
paper, as mentioned in the references.

I wanted the random matrix(parity check matrix) 'A' used to generate this hard 
lattice, so went through the source code lattice.py to compute 'A' along with 
the basis vectors as in described there.

A is a m x n and B is a m x m matrix.
As B is a hard random lattice,

for every i, B.row(i) * A should be 0(1 x n)

But it does not hold.

Any help regarding this or pointers where I might be going wrong?

Thanks,
Rohan

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to