CVS: crypto/Doc pycrypt.tex,1.16,1.17

"A.M. Kuchling" <[email protected]> Fri, 04 Apr 2003 11:05:19 -0800
Newsgroups gmane.comp.python.cryptography.cvs
Message-ID <[email protected]>
Update of /cvsroot/pycrypto/crypto/Doc
In directory sc8-pr-cvs1:/tmp/cvs-serv10684

Modified Files:
	pycrypt.tex 
Log Message:
Reformat example; update paragraph

Index: pycrypt.tex
===================================================================
RCS file: /cvsroot/pycrypto/crypto/Doc/pycrypt.tex,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- pycrypt.tex	3 Apr 2003 20:36:07 -0000	1.16
+++ pycrypt.tex	4 Apr 2003 19:05:10 -0000	1.17
@@ -811,10 +811,11 @@
 
 \begin{verbatim}
 for i in range(2, n): 
-    if (n%i)==0: print i, 'is a factor' ; break
+    if (n%i)==0: 
+        print i, 'is a factor' 
+        break
 \end{verbatim}
 
-
 However, \emph{n} is usually a few hundred bits long, so this simple
 program wouldn't find a solution before the universe comes to an end.
 Smarter algorithms can factor numbers more quickly, but it's still
@@ -822,13 +823,11 @@
 reasonable amount of time.  For ElGamal and DSA, discrete logarithms are
 used instead of factoring, but the principle is the same.
 
-Safe key sizes depend on the current state of computer science and
-technology.  At the moment, one can roughly define three levels of
-security: low-security commercial, high-security commercial, and
-military-grade.  For RSA, these three levels correspond roughly to 512,
-768, and 1024 bit-keys.  For ElGamal and DSA, the key sizes should be
-somewhat larger for the same level of security, around 768, 1024, and
-1536 bits.
+Safe key sizes depend on the current state of number theory and
+computer technology.  At the moment, one can roughly define three
+levels of security: low-security commercial, high-security commercial,
+and military-grade.  For RSA, these three levels correspond roughly to
+768, 1024, and 2048-bit keys.
 
 
 %======================================================================



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/