Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: How to get good primes for DH agreement ?

by danaj (Friar)
on Mar 22, 2019 at 18:42 UTC ( [id://1231575]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $b = 256;  # Whatever your bit length is
      my($p,$q);
    ...
      } while ( ($q % 3) != 2 || ($q % 5) == 2 || ($p % 3) != 2 ||
                !is_prime($p) );
      return $p;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1231575]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-18 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found