On Thu, Sep 3, 2009 at 5:40 PM, Michael
Schurter<[email protected]> wrote:
> but it appears to be doing far too much work just to generate random
> numbers.  os.urandom(n) seems like a fine replacement for the mix of
> random_n() functions (where n is 8, 16, and 32).

This statement may be false as I didn't understand the purpose of the
entropy module at first (and still can't claim to!).  It appears to
generate entropy once and then read from that pool of entropy
throughout the lifetime of the python process.  If the entropy pool
needs to remain static, then os.urandom obviously isn't a drop-in
replacement for EntropyPool.random_n methods.
_______________________________________________
dnspython-users mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users

Reply via email to