Pure Python HTTPS Server
Trevor Perrin
trevp at trevp.net
Sun Feb 29 18:01:38 EST 2004
Paul Rubin <http://phr.cx@NOSPAM.invalid> wrote in message news:<7xllmnaub3.fsf at ruckus.brouhaha.com>...
> 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?
> [...]
> http://www.nightsong.com/phr/crypto/crypto.txt
I like the ideas about key protection. It's a higher-level API then I
have a need for, though. I'd just like to see a few fast primitives
in stdlib.
> > (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
That's another couple modules users have to install though (GMPY and
GMP). I was thinking the current pow() implementation could be
optimized a bit.
Trevor
More information about the Python-list
mailing list