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


Groups > comp.lang.python.announce > #1685

ANN: AES/Python v1.0, an implementation of AES

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <news@four.schnuerpel.eu>
X-Original-To python-announce@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'subject:ANN': 0.07; 'check,': 0.09; 'xor': 0.09; 'python': 0.11; 'arbitrarily': 0.16; 'check.': 0.16; 'feasible': 0.16; 'general.': 0.16; 'nowadays': 0.16; 'readability': 0.16; 'received:eu': 0.16; 'essential': 0.16; 'obviously': 0.18; 'examples': 0.20; 'header :User-Agent:1': 0.23; 'byte': 0.24; 'closely': 0.24; 'subject:/': 0.26; 'certain': 0.27; 'header:X-Complaints-To:1': 0.27; 'function': 0.29; 'ease': 0.30; 'mode': 0.30; 'block,': 0.31; 'follows': 0.31; 'subject:skip:i 10': 0.31; 'at:': 0.34; 'operations': 0.35; 'sequence': 0.36; 'previous': 0.38; 'that,': 0.38; 'according': 0.40; 'employing': 0.68; 'superior': 0.69; 'to:addr:comp-lang-python-announce': 0.70; 'integrity': 0.74; 'to:addr:moderators.isc.org': 0.77; 'verification': 0.83; 'maximize': 0.84; 'url:topic': 0.84
To comp-lang-python-announce@moderators.isc.org
From Mok-Kong Shen <mok-kong.shen@t-online.de>
Newsgroups comp.lang.python.announce
Subject ANN: AES/Python v1.0, an implementation of AES
Date Fri, 01 May 2015 22:13:41 +0200
Organization albasani.net
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
Cancel-Lock sha1:aAIZFDw42PGagfNz+PSzysLKErQ=
X-Mailman-Approved-At Sat, 02 May 2015 07:53:51 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Message-ID <mailman.1.1430546031.12865.python-announce-list@python.org> (permalink)
Lines 29
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1430546031 news.xs4all.nl 2916 [2001:888:2000:d::a6]:48455
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 4069
X-Received-Body-CRC 2191340882
Xref csiph.com comp.lang.python.announce:1685

Show key headers only | View raw


AES/Python is an implementation of AES in Python with examples of
counter mode operations and encryption (with authentication) with
PCBC (block-chaining)

The implementation of AES in this software follows the pseudo-code
in FIPS-197 very closely and neglects all feasible optimization
tricks so as to maximize the readability and hence ease of
verification which is obviously very essential for gaining users'
trust nowadays in any IT-security software in general.

The softwaare also includes a function to generate pseudo-random
byte sequences with AES in counter mode and a function to encrypt
an arbitrarily long 16-byte block sequence according to PCBC
(block-chaining), paired with a function to decrypt.

PCBC works analogously to CBC with the difference that, instead
of employing the ciphertext of the immediately previous block to
xor with the plaintext of the current block, one employs a certain
suitable (nonlinear) accumulated value of all previous plaintext
and ciphertext blocks. Since at the end of processing the last
chaining value can be used as a superior integrity check, PCBC is
a one-pass encryption processing with integrity check.

The software is available at:

http://s13.zetaboards.com/Crypto/topic/7385224/1/

M. K. Shen

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


Thread

ANN: AES/Python v1.0, an implementation of AES Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-05-01 22:13 +0200

csiph-web