From: SourceForge.net <no...@so...> - 2006-09-16 15:11:11
|
Bugs item #1559789, was opened at 2006-09-16 08:11 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=120937&aid=1559789&group_id=20937 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: AES MODE_CBC require multiple of 16 bytes to work? Initial Comment: It seems to me that the CBC algorithm is implemented a little odd... When using the CBC mode it should be possible to pass data with lengths not a multiple of 16? The following code produces the error: from Crypto.Cipher import AES a = AES.new('abcdefghabcdefgh', AES.MODE_CBC) a.encrypt('This is a test ') ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=120937&aid=1559789&group_id=20937 |