[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Pure crypto geekery



Hi,

* Adam Langley [Fri, Jun 10, 2005 at 03:14:22PM +0100]:
> The DH prime used in Tor is taken from rfc2049, section 6.2 and is
> claimed to equal:
> 2^1024 - 2^960 - 1 + 2^64 * { [2^894 pi] + 129093 }
> 
> Of course, one should always check this to make sure that it hasn't
> been chosen by the NSA to have nasty properties.

I don't understand how your script would show that this prime does not
have "nasty properties". It merely compute the expression and compares
it with a reference.