Re: JSH: Understanding quadratic residues result
- From: MichaelW <msjmb@xxxxxxxxxx>
- Date: 22 Nov 2009 07:23:34 +1100
On Sat, 21 Nov 2009 11:54:20 -0800, Enrico wrote:
This is not disagreement. I looked at my spreadsheet and decribed what I
saw. Remember, I start with k=0, 1, 2, 3, ... and k^2 mod N in the first
two columns on my spreadsheet. additional columns apply your equations.
Its a brute force, show everything, tweak anything research tool.
Given q mod N, k matters. With N the product of 2 primes and k, q
coprime to N, I can find 4 values of k that work in every interval of N.
Thats where the 4/N comes from.
Enrico
If N is the product of two odd primes then every k such that k^2=q mod N
will be matched by another k (call it l) such that l^2=q mod N. Proof
provided on request but basically (k-l) will be a multiple of one of the
primes and (k+l) a multiple of the other prime.
Given each k^2 = q mod N is also matched by (N-k)^2 = q mod N then we
have four solutions: k, l, N-k, N-l. This is why you are finding four
values.
Regards, Michael W.
.
- Follow-Ups:
- Re: JSH: Understanding quadratic residues result
- From: MichaelW
- Re: JSH: Understanding quadratic residues result
- References:
- Re: JSH: Understanding quadratic residues result
- From: MichaelW
- Re: JSH: Understanding quadratic residues result
- Prev by Date: Security of crypto security measures
- Next by Date: Re: JSH: Understanding quadratic residues result
- Previous by thread: Re: JSH: Understanding quadratic residues result
- Next by thread: Re: JSH: Understanding quadratic residues result
- Index(es):
Relevant Pages
|