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(rpool, n)
returns a random # from 0 to N-1

Function Details

_generate_prime(bits, randpool)

primtive attempt at prime generation

_roll_random(rpool, n)

returns a random # from 0 to N-1

Generated by Epydoc 2.1 on Sun Dec 4 11:16:48 2005 http://epydoc.sf.net