Crypt::DH 0.4

Paul Crowley paul at ciphergoth.org
Mon Jun 6 15:41:23 PDT 2005


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