Safe prime numbers in Python

Paul Rubin http
Wed Jan 14 02:10:29 EST 2004


Tim Churches <tchur at optushome.com.au> writes:
> Does any know of or have Python code (or C or Fortran code wrapped
> as a Python module) for efficiently finding safe prime numbers -
> that is a number p such that p and (p-1)/2 are both prime?

Yeah I have some, I'll see if I can dig it out and post it.  It's
pretty simple actually.



More information about the Python-list mailing list