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


Groups > comp.lang.python > #52666

Re: Question about crypto

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Question': 0.07; 'assuming': 0.09; 'overflow': 0.09; 'cc:addr:python-list': 0.11; 'thread': 0.14; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'help?': 0.16; 'all.': 0.16; 'sender:addr:gmail.com': 0.17; 'do.': 0.18; 'pfxlen:0': 0.19; 'stack': 0.19; 'cc:addr:python.org': 0.22; "aren't": 0.24; 'bytes': 0.24; 'skip': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "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; 'does': 0.39; 'either': 0.39; 'how': 0.40; 'above,': 0.60; 'to:addr:gmail.com': 0.65
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=DtARepCzvupOECK7+eb7q0fF1o/EdzIAOvKZJXdBEvM=; b=e8rlAONQYDgDazYmKZWmLJUAsu/fJcTS251BctbSggLOAXrPiT6TI9RRTi9qygjyH6 LYzdIEJykmp1GBEd+lbTceLqRUN25UurWldxBQTJBpTOsFeM+sn7cxAdVlVJST4qvlaC N/vCteyH/AWh0X43xsmUNgKNIq6wrvgjLgerSOW9CSfkfGDZrIUNTAllHLQEReK0zZvE dDchP5Mka332feS5pzlyj6/RVMjzSjfirIJCTDuqEgKS8htABKuARW7VO+AEs7uVqa6v ALoOaXjVOaiqRfzPwRrF4KDd6tnR7SMxBt3GL8Fw12OInf0vy5gD+7g7GVKMSknroBVc aTmQ==
MIME-Version 1.0
X-Received by 10.58.237.105 with SMTP id vb9mr9950371vec.2.1376864977334; Sun, 18 Aug 2013 15:29:37 -0700 (PDT)
Sender skip.montanaro@gmail.com
In-Reply-To <52114329.2030801@gmail.com>
References <52114329.2030801@gmail.com>
Date Sun, 18 Aug 2013 17:29:37 -0500
X-Google-Sender-Auth XcaXzI6kHkPcnrKC7zVi6jCOIzU
Subject Re: Question about crypto
From Skip Montanaro <skip@pobox.com>
To Anthony Papillion <papillion@gmail.com>
Content-Type text/plain; charset=UTF-8
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.7.1376864985.19984.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1376864985 news.xs4all.nl 15958 [2001:888:2000:d::a6]:39719
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52666

Show key headers only | View raw


> 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

Skip

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


Thread

Re: Question about crypto Skip Montanaro <skip@pobox.com> - 2013-08-18 17:29 -0500

csiph-web