[Python-checkins] python/dist/src/Doc/lib librotor.tex,1.18,1.18.22.1

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
2002年10月05日 08:14:35 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv638
Modified Files:
 Tag: release22-maint
	librotor.tex 
Log Message:
Backport 1.19:
Document that the key should not contain null bytes.
Index: librotor.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/librotor.tex,v
retrieving revision 1.18
retrieving revision 1.18.22.1
diff -C2 -d -r1.18 -r1.18.22.1
*** librotor.tex	24 Jan 2001 17:19:07 -0000	1.18
--- librotor.tex	5 Oct 2002 15:14:33 -0000	1.18.22.1
***************
*** 30,34 ****
 \begin{funcdesc}{newrotor}{key\optional{, numrotors}}
 Return a rotor object. \var{key} is a string containing the encryption key
! for the object; it can contain arbitrary binary data. The key will be used
 to randomly generate the rotor permutations and their initial positions.
 \var{numrotors} is the number of rotor permutations in the returned object;
--- 30,35 ----
 \begin{funcdesc}{newrotor}{key\optional{, numrotors}}
 Return a rotor object. \var{key} is a string containing the encryption key
! for the object; it can contain arbitrary binary data but not null bytes.
! The key will be used
 to randomly generate the rotor permutations and their initial positions.
 \var{numrotors} is the number of rotor permutations in the returned object;
***************
*** 39,43 ****
 
 \begin{methoddesc}[rotor]{setkey}{key}
! Sets the rotor's key to \var{key}.
 \end{methoddesc}
 
--- 40,44 ----
 
 \begin{methoddesc}[rotor]{setkey}{key}
! Sets the rotor's key to \var{key}. The key should not contain null bytes.
 \end{methoddesc}
 

AltStyle によって変換されたページ (->オリジナル) /