Re: A question
From: Tom St Denis (tomstdenis@yahoo.com)
Date: 04/19/03
- Next message: Phil Carmody: "Re: A question"
- Previous message: Last Man Standing: "Any site of analysis of crypto algorithms?"
- In reply to: Phil Carmody: "Re: A question"
- Next in thread: Phil Carmody: "Re: A question"
- Reply: Phil Carmody: "Re: A question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: tomstdenis@yahoo.com (Tom St Denis) Date: 19 Apr 2003 09:49:12 -0700
"Phil Carmody" <thefatphil_demunge@yahoo.co.uk> wrote in message news:<pan.2003.04.19.14.52.04.250969@yahoo.co.uk>...
> On Fri, 18 Apr 2003 15:54:34 +0000, contact wrote:
>
> > Does anyone know of an algorithm that can indicate if a perfect square root
> > of an integer exists without having to slog thru all the code to actually
> > find the square root? I've done some searching on google and in Schneier's
> > book of AC but can't find anything.
>
> Check to see if it's a quadratic residue modulo a bunch of small primes.
> Include a power of 2 as the first check, as that can reject a fair
> proportion of numbers fairly quickly.
Um, this isn't true as two cannot be used at all. Consider 9 mod 2
and 16 mod 2.
In fact since the field Z/2Z only has one unit there are no quadratic
non-residues to test against.
Tom
- Next message: Phil Carmody: "Re: A question"
- Previous message: Last Man Standing: "Any site of analysis of crypto algorithms?"
- In reply to: Phil Carmody: "Re: A question"
- Next in thread: Phil Carmody: "Re: A question"
- Reply: Phil Carmody: "Re: A question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|