Re: Discrete logarithm and Chinese Remainder Theorem

From: Bryan Olson (fakeaddress_at_nowhere.org)
Date: 09/26/05


Date: Sun, 25 Sep 2005 22:59:09 GMT

John McKormick wrote:
>>Explain why you cannot just apply CRT to x=x1 (mod ?) and
>>x=x2 (mod ?). Then isolate the troublesome part and explain why
>>you will have a unique solution anyway with a suitable restriction.
>
>
> Actually, i dont see how to apply CRT because of exponents. In a common
> use of CRT, it's
> x = a (mod p)
> x = b (mod q)
> but here, there is exponentation.
>
> I saw i have to solve CRT modulos p-1 and q-1, but I dont understand
> why

Because for prime p, and c not a multiple of p,

  c ^ (p - 1) = 1 (mod p).

So if:

  c ^ u = y (mod p)

then for v such that v = u (mod p-1)

  c ^ v = y (mod p).

Thus if you know

   c ^ x1 = y (mod p)
   c ^ x2 = y (mod q)

then one solution for x in c ^ x = y (mod p*q) is to find x such that

   x = x1 (mod p-1)
   x = x2 (mod q-1)

-- 
--Bryan


Relevant Pages

  • Re: Discrete logarithm and Chinese Remainder Theorem
    ... i dont see how to apply CRT because of exponents. ... In a common ...
    (sci.crypt)
  • Re: I hear Plasma TVs are power hogs
    ... I dont have room for ... My current tv is a 25" CRT stereo with 2 small speakers. ... You can display HD ... One one side it said HDTV, ...
    (sci.electronics.repair)
  • Re: LCD, DLP, Plasma -- cant they do blacks?
    ... You never noticed the credits changing spacing / size as they ... dont think that could be a compelling enough reason to forget HD CRT ... that the display industry hasnt fool-proofed them yet. ...
    (alt.tv.tech.hdtv)
  • Re: PC Action Gamers
    ... the CRT. ... I dont, and I justified why I prefer an LCD. ... A luddite is someone who refuses to accept new technology regardless of the benefits it brings. ... This makes you a bit of a wanker: enough posters have expressed their preference for LCD, so you can really keep blowing as much hot air as you like: regardless of specs, a good % of users LIKE LCDS over CRTS. ...
    (comp.sys.ibm.pc.games.action)
  • Re: monitor blackout
    ... the computer is only about 5months old and i dont think it should be doing this. ... or if airflow is blocked from the CRT, fix the temp or airflow; else, contact the company that sold you the monitor and ask for help. ...
    (microsoft.public.windowsxp.hardware)

Loading