Pure Python HTTPS Server

Paul Rubin http
Sat Feb 28 14:16:32 EST 2004


trevp at trevp.net (Trevor Perrin) writes:
> > Did you ever look at the key management scheme I circulated a while
> > back?  Is it the kind of thing anyone cares about?
> 
> I didn't see that.  I did see that you've talked about a stdlib
> interface to OS-level Random Number Generators, like /dev/urandom and
> CryptGenRandom.  I think that's an excellent idea.

http://www.nightsong.com/phr/crypto/crypto.txt

But I want to change it some, to use standard ciphers.

> (aside from ciphers and RNGs, the other thing on my wish-list is
> faster modular exponentiation..  Python use a simple right-to-left
> square-and-multiply.  I'm no expert here, but I think it would be
> pretty easy to make that a few times faster for crypto sized numbers. 
> tlslite's handshaking, in python code, is ~5x slower than OpenSSL
> right now..)

Use gmpy, http://gmpy.sf.net



More information about the Python-list mailing list