The site below explains that part of doing homomorphic encryption, you need to generate a vector of random numbers that have the property that its dot product against a randomly generated bit vector mod 2 has an absolute value less than some amount (but greater than zero).
http://windowsontheory.org/2012/05/02/building-the-swiss-army-knife/
Is there any way to generate such a vector other than brute force? Seems like it could take a long time for a large vector.