[pycrypto] Base64 encoded output differs from pycrypto and as3crypto libraries.
sbehrens at gmx.li
Wed Jan 12 14:32:44 CST 2011
I notice that we don't use Schneier's CBC test vector. All we use is ECB.
I tried adding CBC, and got errors. Running it manually, I get errors.
Can you sanity-check that I'm not doing something stupid. If I'm
invoking it right and it's failing, we need to review the CBC code.
>>> B =
>>> S =
>>> X = B.encrypt(S)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: Input strings must be a multiple of 8 in length
More information about the pycrypto