Package paramiko :: Module primes
[show private | hide private]
[frames | no frames]

Module paramiko.primes

Utility functions for dealing with primes.
Classes
ModulusPack convenience object for holding the contents of the /etc/ssh/moduli file, on systems that have such a file.

Function Summary
  _generate_prime(bits, randpool)
primtive attempt at prime generation
  _roll_random(randpool, n)
returns a random # from 0 to N-1

Function Details

_generate_prime(bits, randpool)

primtive attempt at prime generation

_roll_random(randpool, n)

returns a random # from 0 to N-1

Generated by Epydoc 2.0 on Sun Jan 4 02:33:11 2004 http://epydoc.sf.net