summaryrefslogtreecommitdiff
path: root/pipermail/pycrypto/2009q3/000123.html
diff options
context:
space:
mode:
Diffstat (limited to 'pipermail/pycrypto/2009q3/000123.html')
-rw-r--r--pipermail/pycrypto/2009q3/000123.html87
1 files changed, 87 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2009q3/000123.html b/pipermail/pycrypto/2009q3/000123.html
new file mode 100644
index 0000000..8605da7
--- /dev/null
+++ b/pipermail/pycrypto/2009q3/000123.html
@@ -0,0 +1,87 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [pycrypto] example
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20example&In-Reply-To=b6bc4a080908250402g10b04de2p7bdb18be380bcff8%40mail.gmail.com">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000122.html">
+ <LINK REL="Next" HREF="000124.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[pycrypto] example</H1>
+ <B>avo ga</B>
+ <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20example&In-Reply-To=b6bc4a080908250402g10b04de2p7bdb18be380bcff8%40mail.gmail.com"
+ TITLE="[pycrypto] example">avogatro2007 at googlemail.com
+ </A><BR>
+ <I>Tue Aug 25 06:00:21 CST 2009</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000122.html">[pycrypto] example
+</A></li>
+ <LI>Next message: <A HREF="000124.html">[pycrypto] example
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#123">[ date ]</a>
+ <a href="thread.html#123">[ thread ]</a>
+ <a href="subject.html#123">[ subject ]</a>
+ <a href="author.html#123">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>I checked GIT, installed the latest Version.
+use the Crypto.random.new().read function
+I HOPE this is a goog idea ^^
+
+#-----------------------------------------------------------------------
+print &quot;\n=====RSA 368 Demo=====&quot;
+from Crypto.PublicKey import RSA
+from Crypto import Random
+rpool = Random.new()
+
+privatekeyCMS = RSA.generate(368, rpool.read)
+
+privatekeyClient = RSA.generate(368, rpool.read)
+publickeyCMS = privatekeyCMS.publickey()
+publickeyClient = privatekeyClient.publickey()
+
+signed_PWD = privatekeyCMS.sign(PWD,&quot;&quot;)
+enc_PWD = publickeyClient.encrypt(PWD, &quot;&quot;)
+
+
+#-----------------------------------------------------------------------
+another question about os.fork:
+there is some functions to summon a child process:
+like popen[1-4]
+or some threading class:
+I don't use os.fork.
+should I use Random.atfork() for every sub process?
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: <A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20090825/8662dd5e/attachment.htm">http://lists.dlitz.net/pipermail/pycrypto/attachments/20090825/8662dd5e/attachment.htm</A>
+</PRE>
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000122.html">[pycrypto] example
+</A></li>
+ <LI>Next message: <A HREF="000124.html">[pycrypto] example
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#123">[ date ]</a>
+ <a href="thread.html#123">[ thread ]</a>
+ <a href="subject.html#123">[ subject ]</a>
+ <a href="author.html#123">[ 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>