diff options
Diffstat (limited to 'pipermail/pycrypto/attachments/20120604/776153c0/attachment-0001.html')
-rw-r--r-- | pipermail/pycrypto/attachments/20120604/776153c0/attachment-0001.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pipermail/pycrypto/attachments/20120604/776153c0/attachment-0001.html b/pipermail/pycrypto/attachments/20120604/776153c0/attachment-0001.html new file mode 100644 index 0000000..f92c374 --- /dev/null +++ b/pipermail/pycrypto/attachments/20120604/776153c0/attachment-0001.html @@ -0,0 +1,15 @@ +<tt> +2012/6/4 Webie <span dir="ltr"><<a href="mailto:assie181@gmail.com" target="_blank">assie181@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br> +<br><br> +PyCrypto's output doesn't match OpenSSL when decrypting a file in<br><br> +Blowfish CFB mode. To reproduce this, download and test<br><br> +<a href="http://dl.dropbox.com/u/1522424/PyCrypto-strange.tar" target="_blank">http://dl.dropbox.com/u/1522424/PyCrypto-strange.tar</a>.<br><br> +<br></blockquote><div><br>Both are correct. The fact is that they use different default segment sizes for CFB:<br><br> +PyCrypto uses 8 bits, and OpenSSL 64 bits.<br><br> +<br>With:<br><br><br> +bf = Blowfish.new(key = key, mode = Blowfish.MODE_CFB, IV = iv,<br><br> + segment_size=64)<br><br> +<br><br> +You will get the same result.<br> <br></div></div><br> + +</tt> |