yann2192/pyelliptic — pull request #4 by meeb (2012-10-03 10:24:50+00:00)
Title: minor feature

Hi,

This minor patch adds rc4 stream cipher support (initialised properly) as well as allows optional user specified ciphers to be used in ecc().encrypt() and ecc().decrypt(), e.g.:

```python
import pyelliptic
alice = pyelliptic.ecc()
bob = pyelliptic.ecc()
ciphertext = alice.encrypt("Hello Bob", bob.get_pubkey(), ciphername='rc4')
print bob.decrypt(ciphertext, ciphername='rc4')
```

We're interfacing with some systems that use rc4 and need to be supported.

Cheers!

Joe