Article View: sci.crypt
Article #2873Re: Is N a prime power?
From: Robert D. Silverman
Date: Mon, 25 Jan 1993 15:05
Date: Mon, 25 Jan 1993 15:05
22 lines
1539 bytes
1539 bytes
In article <C1Exs1.8uz@ms.uky.edu> jedwards@ms.uky.edu (Jonathan Edwards) writes: :I am reading an old paper by Tompa that describes Blum's protocol for :flipping coins by telephone. The first thing the verifier must do is :verify that a very large (hundreds of digits) number has at least two :distinct prime factors (i.e., that the number is not a prime power). :Tompa gives no hint how to do this and I haven't been able to find anyone :else who knows. I'd very much appreciate it if someone could explain Direct search. An upper bound on the number of exponentiations is log_2(N). Each one takes O(log^3 N), so direct search takes only O(log^4 N) operations. I.E. Compute M = log_2(N). One then need only check whether it is a perfect square, cube, 4th power..... M'th power. Each of these tests is trivial. -- Bob Silverman These are my opinions and not MITRE's. Mitre Corporation, Bedford, MA 01730 "You can lead a horse's ass to knowledge, but you can't make him think"
Technical Details
Message-ID:
<1993Jan25.150556.24096@linus.mitre.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!linus!linus.mitre.org!fatima!bsReferences:
<C1Exs1.8uz@ms.uky.edu>Show Full Headers
Complete Article Headers
Newsgroups: sci.crypt Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!linus!linus.mitre.org!fatima!bs From: bs@fatima.mitre.org (Robert D. Silverman) Subject: Re: Is N a prime power? Message-ID: <1993Jan25.150556.24096@linus.mitre.org> Sender: news@linus.mitre.org (News Service) Nntp-Posting-Host: fatima.mitre.org Organization: Research Computer Facility, MITRE Corporation, Bedford, MA References: <C1Exs1.8uz@ms.uky.edu> Date: Mon, 25 Jan 1993 15:05:56 GMT Lines: 22