Re: encryption with pi

From: Phil Carmody (thefatphil_demunged_at_yahoo.co.uk)
Date: 07/31/04


Date: 31 Jul 2004 03:01:55 +0300

pubkeybreaker@aol.comstuff (Bob Silverman) writes:
> Sigh.

Agreed.
 
> I get tired of this. I am competent to judge.

Agreed.

> The proposed cipher is easily broken.

Agreed.

> Computing the
> n'th digit of Pi can be done in constant time
> (without computing prior values) by an algorithm of
> Simon Plouffe.

Borwein, Bailey and Plouffe claim the algorithm "scale[s]
nearly linearly with the order of the digit desired".
(That's from the abstract of their paper. The Bellard
improvements are simply a multiplicative constant, not
a change in Big-Oh)

> The algorithm is quite fast.
>
> Even if it were not constant time, generating 100
> million digits of Pi is TRIVIAL.

Agreed.

> I suggest searching the literature next time before
> shooting your mouth off. You do know how to do
> a Web search, don't you?

Funnily enough, about 75% of my bookmarks for BBP are now
dead links.

Phil

-- 
1st bug in MS win2k source code found after 20 minutes: scanline.cpp
2nd and 3rd bug found after 10 more minutes: gethost.c
Both non-exploitable. (The 2nd/3rd ones might be, depending on the CRTL)


Relevant Pages

  • Re: encryption with pi
    ... Computing the ... n'th digit of Pi can be done in constant time (without ... Even if it were not constant time, ... a Web search, don't you? ...
    (sci.crypt)
  • Re: encryption with pi
    ... The algorithm is quite fast. ... Could you clarify what you mean by "constant time"? ... in which case computing the n-th digit of pi is trivially ...
    (sci.crypt)
  • Re: encryption with pi
    ... Computing the ... > You can't even look at n in constant time (unless n is fixed or ... > for the n-th digit, but that would be a far way from constant. ... 1st bug in MS win2k source code found after 20 minutes: ...
    (sci.crypt)
  • Re: Newbie Question
    ... signed) won't be enough to store all values of the PIC 9. ... If you spot a bug in the COBOL code, make a note of it, but replicate that bug in your VB code as well. ... I think the following pair of 16 digit numbers have the same represensation in IEEE 64 bit double: ... DIM var1, var2 AS DOUBLE ...
    (comp.lang.cobol)
  • Re: sed is not able to replace a word with /
    ... Is this a bug? ... The first character matching the RE ... must be a digit, underscore, or letter. ...
    (comp.unix.solaris)