Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20375
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <debatem1@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'library,': 0.05; ':-)': 0.06; 'app,': 0.07; 'epydoc': 0.09; 'libraries.': 0.09; 'suggestions:': 0.09; 'am,': 0.12; 'received:209.85.214.174': 0.13; 'arguments:': 0.16; 'low-level': 0.16; 'openssl': 0.16; '\xa0you': 0.16; 'cc:addr:python-list': 0.16; 'mon,': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; 'trying': 0.21; 'header:In-Reply-To:1': 0.22; 'assume': 0.22; 'feb': 0.22; 'right.': 0.25; 'tests': 0.25; 'cc:2**0': 0.26; 'code': 0.26; 'testing': 0.26; 'url:mailman': 0.27; "i'm": 0.28; 'message- id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'key,': 0.30; 'sun,': 0.30; 'actually': 0.31; 'url:listinfo': 0.32; 'file': 0.34; 'wont': 0.34; 'probably': 0.35; 'trouble': 0.35; 'url:python': 0.35; 'received:209.85.214': 0.36; 'two': 0.36; 'hello,': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'using': 0.37; 'another': 0.37; 'skip:_ 10': 0.38; "i'll": 0.38; 'received:209.85': 0.38; 'some': 0.38; 'useful': 0.38; 'getting': 0.38; 'easier': 0.38; 'describe': 0.39; 'url:org': 0.39; 'received:209': 0.39; 'tool': 0.39; 'being': 0.40; 'might': 0.40; 'more': 0.61; 'your': 0.61; 'kind': 0.62; 'strange': 0.68; 'yourself': 0.69; 'salt': 0.77; 'claims': 0.80; 'perfect,': 0.84; 'url:api': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=NUQKRoiYkXG9kL30K+p8YWELwtluru38+fDoqHOl2WQ=; b=e/itgp5VRVerxKsNPwi66cfJLukTXD/0w6IjMbkvzehaRQ9GSMWA2VPGUOpa5ns4PQ Hzp3v7eB8xEpUWnfWWAEai4LdjUnoXBzJLwEqTr7eOZB4klISru2uC+M5pIu0uRgB5Ok xeWpTO2qV111PZDuFyy9ysC1BYmc09FB9Cy9c= |
| MIME-Version | 1.0 |
| In-Reply-To | <61db3262-c120-4dc8-8f63-1d7496e4001c@gr6g2000vbb.googlegroups.com> |
| References | <2515ca96-77c9-4264-aaf2-42bd98fcf9ca@dq9g2000vbb.googlegroups.com> <jh9jrl$jqs$1@speranza.aioe.org> <mailman.5748.1329092912.27778.python-list@python.org> <61db3262-c120-4dc8-8f63-1d7496e4001c@gr6g2000vbb.googlegroups.com> |
| Date | Mon, 13 Feb 2012 14:27:44 -0800 |
| Subject | Re: M2crypto |
| From | geremy condra <debatem1@gmail.com> |
| To | zigi <cezar4846@gmail.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5783.1329172066.27778.python-list@python.org> (permalink) |
| Lines | 57 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1329172066 news.xs4all.nl 6958 [2001:888:2000:d::a6]:52539 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:20375 |
Show key headers only | View raw
On Mon, Feb 13, 2012 at 12:37 AM, zigi <cezar4846@gmail.com> wrote: > Hello, > this is must be testing time to crypt files, using just M2crypto :-) > I know this is a strange use of the library, but such is the will of > the management. I take it you mean that you're benchmarking file encryption performance using M2Crypto? If your only goal is to do exactly that then go for it, but otherwise you're probably using the wrong tool for the job. Geremy Condra > On 13 Lut, 01:28, geremy condra <debat...@gmail.com> wrote: >> On Sun, Feb 12, 2012 at 4:00 PM, Mel Wilson <mwil...@the-wire.com> wrote: >> > 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. >> >> Not intending to be rude, but being perfectly serious: as a general >> rule, if you don't know what an IV is you're probably getting yourself >> into a lot of trouble working with low-level crypto libraries. >> >> Two suggestions: >> >> 1. Describe what you're trying to do- I'll be able to help more if I >> know what you're actually going for. >> >> 2. Try keyczar. It's not perfect, but it's a lot easier to get right. >> >> Geremy Condra > > -- > http://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
M2crypto zigi <cezar4846@gmail.com> - 2012-02-12 14:34 -0800
Re: M2crypto Mel Wilson <mwilson@the-wire.com> - 2012-02-12 19:00 -0500
Re: M2crypto geremy condra <debatem1@gmail.com> - 2012-02-12 16:28 -0800
Re: M2crypto zigi <cezar4846@gmail.com> - 2012-02-13 00:37 -0800
Re: M2crypto geremy condra <debatem1@gmail.com> - 2012-02-13 14:27 -0800
Re: M2crypto zigi <cezar4846@gmail.com> - 2012-02-13 14:38 -0800
csiph-web