[Python-checkins] python/nondist/peps pep-0272.txt,1.9,1.10

akuchling@users.sourceforge.net akuchling@users.sourceforge.net
Thu, 05 Sep 2002 06:06:29 -0700


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv24085

Modified Files:
	pep-0272.txt 
Log Message:
Clarify key-length terminology to match my intention

Index: pep-0272.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0272.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** pep-0272.txt	29 May 2002 21:09:03 -0000	1.9
--- pep-0272.txt	5 Sep 2002 13:06:26 -0000	1.10
***************
*** 131,137 ****
          An integer value; the size of the keys required by this
          module, measured in bytes.  If key_size is None, then the
!         algorithm accepts arbitrary-length keys.  You cannot pass a
!         key of length 0 (that is, the null string '') as such a
!         variable-length key.
  
      Cipher objects should have two attributes:
--- 131,139 ----
          An integer value; the size of the keys required by this
          module, measured in bytes.  If key_size is None, then the
!         algorithm accepts variable-length keys.  This may mean the
!         module accepts keys of any random length, or that there are a
!         few different possible lengths, e.g. 16, 24, or 32 bytes.  You
!         cannot pass a key of length 0 (that is, the null string '') as
!         a variable-length key.
  
      Cipher objects should have two attributes:
***************
*** 204,207 ****
--- 206,212 ----
      mode; added CTR and OFB feedback modes; clarified where numbers 
      are measured in bytes and where in bits.
+ 
+     2002-09: Clarified the discussion of key length by using
+     "variable-length keys" instead of "arbitrary-length".