Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52690
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <papillion@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.026 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'subject:Question': 0.07; 'string': 0.09; 'assuming': 0.09; 'url:software': 0.09; 'cc:addr :python-list': 0.11; 'roy': 0.16; 'tying': 0.16; 'wrote:': 0.18; 'library': 0.18; 'module': 0.19; 'trying': 0.19; 'import': 0.22; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; "i've": 0.25; 'code:': 0.26; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'helpful.': 0.31; 'run': 0.32; 'received:google.com': 0.35; 'thanks': 0.36; 'two': 0.37; 'message-id:@gmail.com': 0.38; 'thank': 0.38; 'pm,': 0.38; 'even': 0.60; "you're": 0.61; 'wall': 0.65; 'here': 0.66; 'smith': 0.68; 'article': 0.77; 'again!': 0.84; 'confusing': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=gle0i/+X23UFT3GvOPa1sfvwyRGiD0ovBsKL+19q4/8=; b=yzbKr8jlP7sQIZP5YTPGL2RWjGHsf7Q1s7QuuAzLc3VAXCT+F4Ighkj3qeJzHENl6J ZDKohie6n+ovunTF0rZ0VVfrsYX+YKQV+j7JORcAV2k1mIpveMxw9pKGPcisv6IzdwEe cpwV6Q4UHPRdMAIcJjbC6FqhFI9KE1Om9Ipq3Oxhtssd4HbDhh7j3ltov5NaGUJqSepP oMyYutva0pV/h0e5kFEMaDbUGPystz3zteBbxOhDOE+dVK/ZaeV1TZL06r8xlcVDBjZl SkQ6EymQeXUFzIgAtMnkGsK4+0W2MbVIqXKbLOvakJ/VNoZqAFb2HhEpdafrmllI5P9H JOeg== |
| X-Received | by 10.50.13.10 with SMTP id d10mr3584246igc.56.1376915724448; Mon, 19 Aug 2013 05:35:24 -0700 (PDT) |
| Date | Mon, 19 Aug 2013 07:35:22 -0500 |
| From | Anthony Papillion <papillion@gmail.com> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 |
| MIME-Version | 1.0 |
| To | Roy Smith <roy@panix.com> |
| Subject | Re: Question about crypto |
| References | <mailman.6.1376863028.19984.python-list@python.org> <roy-EDD005.18524618082013@news.panix.com> |
| In-Reply-To | <roy-EDD005.18524618082013@news.panix.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.29.1376915731.19984.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1376915731 news.xs4all.nl 15887 [2001:888:2000:d::a6]:51850 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:52690 |
Show key headers only | View raw
On 08/18/2013 05:52 PM, Roy Smith wrote: > In article <mailman.6.1376863028.19984.python-list@python.org>, > Anthony Papillion <papillion@gmail.com> wrote: > >> I've just started working with the Crypto library and I've already run >> into a wall even though I'm following a tutorial. Basically, I'm trying >> to encrypt a string using AES in CBC mode. Here is the code: >> >> from Crypto import AES > > You don't say exactly what module you're using. I'm assuming > https://www.dlitz.net/software/pycrypto/api/current/, yes? <snip> Thank you, Roy, this was very helpful. You're right, I was confusing key size with the IV and I was tying the two together in an inappropriate (wrong) way. Thanks again! Anthony
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Question about crypto Anthony Papillion <papillion@gmail.com> - 2013-08-18 16:56 -0500
Re: Question about crypto Roy Smith <roy@panix.com> - 2013-08-18 18:52 -0400
Re: Question about crypto Anthony Papillion <papillion@gmail.com> - 2013-08-19 07:35 -0500
csiph-web