Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52688

Re: Question about crypto

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Question': 0.07; 'assuming': 0.09; 'overflow': 0.09; 'to:addr:pobox.com': 0.09; 'to:addr:skip': 0.09; 'cc:addr:python-list': 0.11; 'missed': 0.12; 'thread': 0.14; 'discussion.': 0.16; 'help?': 0.16; 'all.': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'do.': 0.18; 'stack': 0.19; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; "aren't": 0.24; 'bytes': 0.24; 'skip': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'help!': 0.26; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'code': 0.31; 'long.': 0.31; 'run': 0.32; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'set.': 0.36; 'message- id:@gmail.com': 0.38; 'pm,': 0.38; 'does': 0.39; 'either': 0.39; 'how': 0.40; 'above,': 0.60; 'received:mail-ob0-x22d.google.com': 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=L76yX1gF7vB4NBCVM5VhDQc9FuHj4pfnKoLwfanibRk=; b=w+UrBbHHpe3D7tGObqLx1q578fqrGnJI6m7Q1Wa/jeGCuGjI9n507jzqezWMh+8OCV 2LfPkOSyx00SGuZaqSJg/92A/lhoUO5vwVCRSs1kucerYmHHiYvqAYFL8ZFFUqEwZ3JI wYyNvY3d407xXz2IxbUe7F5J6sMArW+r9PtqnXeqXppKm0186Cp8ZT7txffXAkZNbgfn Wz7vTXYLtVKCxpasGTLUT6qmba4Osjy2vlGiw/4TseySG0BBSxgaa0K8Rws/0l0wlsRd 0LsHfzpR6Q4twJfBhIeCuvXZtzlHMRNp+J6NRxoOz3xso1/zTLf7LNg7TBCpbPoWtUe7 9LAg==
X-Received by 10.50.128.36 with SMTP id nl4mr3623460igb.38.1376915556166; Mon, 19 Aug 2013 05:32:36 -0700 (PDT)
Date Mon, 19 Aug 2013 07:32:34 -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 Skip Montanaro <skip@pobox.com>
Subject Re: Question about crypto
References <52114329.2030801@gmail.com> <CANc-5UzS=1=Z132=ZEYr2k5Bjh7SwY2S40ohB7djSf5dEKibFg@mail.gmail.com>
In-Reply-To <CANc-5UzS=1=Z132=ZEYr2k5Bjh7SwY2S40ohB7djSf5dEKibFg@mail.gmail.com>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
Cc Python <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.27.1376915564.19984.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1376915564 news.xs4all.nl 15914 [2001:888:2000:d::a6]:48492
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52688

Show key headers only | View raw


On 08/18/2013 05:29 PM, Skip Montanaro wrote:
>> When I run the code above, I am told that the IV must be 16 bytes long.
>> I'm assuming that the IV (I know that means "Initialization Vector") is
>> either the key OR something else I can set. But I don't know how or what
>> to do.
> 
> Does this Stack Overflow thread help?  It looks to me like you aren't
> defining an initialization vector at all.
> 
> http://stackoverflow.com/questions/14716338/pycrypto-how-does-the-initialization-vector-work

Completely missed that Stack Overflow discussion. Thanks, Skip! That
does help!

Anthony

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Question about crypto Anthony Papillion <papillion@gmail.com> - 2013-08-19 07:32 -0500

csiph-web