diff options
Diffstat (limited to 'pipermail/pycrypto/2008q3/000017.html')
-rw-r--r-- | pipermail/pycrypto/2008q3/000017.html | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2008q3/000017.html b/pipermail/pycrypto/2008q3/000017.html new file mode 100644 index 0000000..7484b95 --- /dev/null +++ b/pipermail/pycrypto/2008q3/000017.html @@ -0,0 +1,83 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [pycrypto] Bug in Crypto.PublicKey.RSA? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Bug%20in%20Crypto.PublicKey.RSA%3F&In-Reply-To=48C73904.80602%40broadley.org"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000016.html"> + <LINK REL="Next" HREF="000018.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] Bug in Crypto.PublicKey.RSA?</H1> + <B>Bill Broadley</B> + <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Bug%20in%20Crypto.PublicKey.RSA%3F&In-Reply-To=48C73904.80602%40broadley.org" + TITLE="[pycrypto] Bug in Crypto.PublicKey.RSA?">bill at broadley.org + </A><BR> + <I>Wed Sep 10 02:09:48 CST 2008</I> + <P><UL> + <LI>Previous message: <A HREF="000016.html">[pycrypto] Bug in Crypto.PublicKey.RSA? +</A></li> + <LI>Next message: <A HREF="000018.html">[pycrypto] Bug in Crypto.PublicKey.RSA? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#17">[ date ]</a> + <a href="thread.html#17">[ thread ]</a> + <a href="subject.html#17">[ subject ]</a> + <a href="author.html#17">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Please disregard my gpg benchmark numbers, turns out that gpg --encrypt with a +private/public key and --symmetric both use a symmetric encryption for files. + +><i> Oh, as to performance my symmetric vs public key encryption tests didn't find +</I>><i> much difference: +</I>><i> $ dd if=/dev/urandom of=/tmp/100MB bs=10240 count=10240 +</I>><i> $ time (echo a-test-password-of-non-trivial-length | gpg -o /dev/null +</I>><i> --symmetric --passphrase-fd 0 /tmp/100MB) +</I>><i> real 0m8.563s +</I>><i> user 0m8.513s +</I>><i> sys 0m0.052s +</I>><i> $ ls -alh /tmp/100MB +</I>><i> -rw-r--r-- 1 bill bill 100M 2008-09-09 19:43 /tmp/100MB +</I>><i> +</I>><i> Using a 2kbit RSA key: +</I>><i> $ gpg --list-keys +</I>><i> /home/bill/.gnupg/pubring.gpg +</I>><i> ----------------------------- +</I>><i> pub 1024D/07DDAB8A 2008-09-08 +</I>><i> uid Python benchmark <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">py at bench</A>> +</I>><i> sub 2048g/37E185E1 2008-09-08 +</I>><i> $ time (echo | gpg -o /dev/null -e -r benchmark --passphrase-fd 0 /tmp/100MB ) +</I>><i> Reading passphrase from file descriptor 0 +</I>><i> +</I>><i> real 0m9.555s +</I>><i> user 0m9.513s +</I>><i> sys 0m0.048s +</I></PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000016.html">[pycrypto] Bug in Crypto.PublicKey.RSA? +</A></li> + <LI>Next message: <A HREF="000018.html">[pycrypto] Bug in Crypto.PublicKey.RSA? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#17">[ date ]</a> + <a href="thread.html#17">[ thread ]</a> + <a href="subject.html#17">[ subject ]</a> + <a href="author.html#17">[ 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> |