M2crypto

Mel Wilson mwilson at the-wire.com
Sun Feb 12 19:00:52 EST 2012


zigi wrote:

> Hello,
> M2crypto
> 
> __init__(self, alg, key, iv, op, key_as_bytes=0, d='md5',
> salt='12345678', i=1, padding=1)
> 
> I wont write app, using M2crypto and I can not understand what are the
> arguments:
> key, iv, op, salt ?
> What they do ?

I assume you're reading in <http://www.heikkitoivonen.net/m2crypto/api/> 
about M2Crypto.EVP.Cipher.

Epydoc claims another victim.

I'm having a lot of trouble finding documentation.  The obvious OpenSSL 
pages are kind of thin, too.  You might see some useful code in the EVP unit 
tests m2crypto/tests/test_evp.py in the m2crypto installation.

	Good hunting,		Mel.




More information about the Python-list mailing list