[pycrypto] AES, python 2.7 vs 3
dave.pawson at gmail.com
Thu Feb 6 22:29:31 PST 2014
On 6 February 2014 16:49, Dwayne Litzenberger <dlitz at dlitz.net> wrote:
> On Mon, Feb 03, 2014 at 03:51:06PM +0100, Mirko Dziadzka wrote:
>> Without testing or verifying:
>> You should probably use bytes in Python 3, not characters.
> Yeah, this is a known bug. Under Python 3, PyCrypto should raise a
> TypeError in most places where unicode strings are used instead of bytes,
> but right now it just does weird things. Sorry about that.
Recently playing about with reading / writing between Linux / Windows,
one symptom I came across was that the decrypted string contained b' <string>'
is that a part of this bug?
XSLT XSL-FO FAQ.
More information about the pycrypto