summaryrefslogtreecommitdiff
path: root/pipermail/pycrypto/2009q4/000173.html
diff options
context:
space:
mode:
Diffstat (limited to 'pipermail/pycrypto/2009q4/000173.html')
-rw-r--r--pipermail/pycrypto/2009q4/000173.html83
1 files changed, 83 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2009q4/000173.html b/pipermail/pycrypto/2009q4/000173.html
new file mode 100644
index 0000000..ba0cbe6
--- /dev/null
+++ b/pipermail/pycrypto/2009q4/000173.html
@@ -0,0 +1,83 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [pycrypto] [problem]There's difference between pycrypto to crypt a string and cryptoPP to crypt a string with AES by CFB mode.
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20%5Bproblem%5DThere%27s%20difference%20between%20pycrypto%0A%09to%09crypt%20a%20string%20and%20cryptoPP%20to%20crypt%20a%20string%20with%20AES%20by%0A%09CFB%20mode.&In-Reply-To=fca484050912272219y55b9bb0eyab0e089f7f0101a9%40mail.gmail.com">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000172.html">
+ <LINK REL="Next" HREF="000177.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[pycrypto] [problem]There's difference between pycrypto to crypt a string and cryptoPP to crypt a string with AES by CFB mode.</H1>
+ <B>Dwayne C. Litzenberger</B>
+ <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20%5Bproblem%5DThere%27s%20difference%20between%20pycrypto%0A%09to%09crypt%20a%20string%20and%20cryptoPP%20to%20crypt%20a%20string%20with%20AES%20by%0A%09CFB%20mode.&In-Reply-To=fca484050912272219y55b9bb0eyab0e089f7f0101a9%40mail.gmail.com"
+ TITLE="[pycrypto] [problem]There's difference between pycrypto to crypt a string and cryptoPP to crypt a string with AES by CFB mode.">dlitz at dlitz.net
+ </A><BR>
+ <I>Mon Dec 28 02:32:23 CST 2009</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000172.html">[pycrypto] [problem]There's difference between pycrypto to crypt a string and cryptoPP to crypt a string with AES by CFB mode.
+</A></li>
+ <LI>Next message: <A HREF="000177.html">[pycrypto] [problem]There's difference between pycrypto to crypt a string and cryptoPP to crypt a string with AES by CFB mode.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#173">[ date ]</a>
+ <a href="thread.html#173">[ thread ]</a>
+ <a href="subject.html#173">[ subject ]</a>
+ <a href="author.html#173">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Mon, Dec 28, 2009 at 02:19:06PM +0800, ten speme wrote:
+&gt;<i>I using cryptoPP to crypt a string with key:&quot;aaaaaaaaaaaaaaa&quot;
+</I>&gt;<i>,iv:&quot;bbbbbbbbbbbbbbbb&quot;,data&quot;abcdefghijklmnopqrstuvwxyz&quot;, and its encrypted
+</I>&gt;<i>string is [hex]&quot;9FE673D419DD3256B6A206FE7004660F11BAFCE5B2106E2BA39A&quot;
+</I>
+Please be careful when posting troubleshooting requests. &quot;aaaaaaaaaaaaaaa&quot;
+is 15 bytes long, so it's impossible as an AES key. Can you post example
+code that builds against cryptoPP (or uses pycryptopp) and produces this
+result?
+
+&gt;<i>by pycrypto , I also using the same key, vi, and data. but get difference
+</I>&gt;<i>result:[hex]&quot;78bf5fc7d6a87dd6533d028725cb206cf54dbca6e5ea9a852885&quot;.
+</I>&gt;<i>
+</I>&gt;<i>All these using AES with CFB mode.
+</I>
+Which CFB mode are you talking about? CFB is a family of modes. You can
+have e.g. 1-bit CFB, 8-bit CFB, 64-bit CFB, 128-bit CFB, etc. PyCrypto
+defaults to 8-bit CFB, I believe, but will accept any multiple of 8 bits.
+(It's set by the segment_size keyword argument to AES.new.)
+
+--
+Dwayne C. Litzenberger &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dlitz at dlitz.net</A>&gt;
+ Key-signing key - 19E1 1FE8 B3CF F273 ED17 4A24 928C EC13 39C2 5CF7
+ Annual key (2009) - C805 1746 397B 0202 2758 2821 58E0 894B 81D2 582E
+</PRE>
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000172.html">[pycrypto] [problem]There's difference between pycrypto to crypt a string and cryptoPP to crypt a string with AES by CFB mode.
+</A></li>
+ <LI>Next message: <A HREF="000177.html">[pycrypto] [problem]There's difference between pycrypto to crypt a string and cryptoPP to crypt a string with AES by CFB mode.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#173">[ date ]</a>
+ <a href="thread.html#173">[ thread ]</a>
+ <a href="subject.html#173">[ subject ]</a>
+ <a href="author.html#173">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">More information about the pycrypto
+mailing list</a><br>
+</body></html>