Crypt::DH 0.4
Brad Fitzpatrick
brad at danga.com
Mon Jun 6 15:53:20 PDT 2005
I also just noticed Crypt::Random's "Uniform" option, which defaults to
off, setting the high bit true.
Should I care about that in _random? I realize now that Ben did in
Crypt::DSA's pure-perl version.
On Mon, 6 Jun 2005, Paul Crowley wrote:
> Brad Fitzpatrick wrote:
> > http://www.danga.com/dist/misc/Crypt-DH-0.04.tar.gz
>
> Shouldn't the argument to Crypt::Random be this?
>
> makerandom_itv(Strength => 0, Lower => 1, Upper => $dh->{p} -1)
>
> Admittedly, this makes _makerandom more complex; you could just find the
> size then loop 'till you get something within the bounds though...
> --
> __
> \/ o\ Paul Crowley, paul at ciphergoth.org
> /\__/ http://www.ciphergoth.org/
>
>
More information about the yadis
mailing list