A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-September/017566.html below:

[Python-Dev] Parametrized codecs

[Python-Dev] Parametrized codecs [Python-Dev] Parametrized codecsAndrew Kuchling akuchlin@mems-exchange.org
Wed, 19 Sep 2001 13:47:44 -0400
On Tue, Sep 18, 2001 at 04:31:31PM -0400, Gordon McMillan wrote:
>RC4, maybe. But I think you're asking for trouble in trying to 
>pretend a block-mode cipher is a stream.

Dunno, but we'll hash that out on the python-crypto list.  For now I
just wanted to know if parametrized codecs would be an inherently bad
idea.

(Two ways of handling this would be requiring all write() calls to use
a multiple of the block size, or reporting an error on the close() if
you haven't written out an even number of blocks.  I have no idea
which is preferable; not sure I like either of them...)

--amk



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4