[Python-checkins] CVS: python/nondist/peps pep-0247.txt,1.6,1.7

A.M. Kuchling akuchling@users.sourceforge.net
Tue, 09 Oct 2001 14:13:10 -0700


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

Modified Files:
	pep-0247.txt 
Log Message:
Set digest_size to None for variable-size hashes


Index: pep-0247.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0247.txt,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** pep-0247.txt	2001/09/24 15:37:19	1.6
--- pep-0247.txt	2001/10/09 21:13:07	1.7
***************
*** 55,59 ****
          and accessing its 'digest_size' attribute, but it can be
          convenient to have this value available from the module.
!         Hashes with a variable output size will set this variable to 0.
  
      Hashing objects require a single attribute:
--- 55,60 ----
          and accessing its 'digest_size' attribute, but it can be
          convenient to have this value available from the module.
!         Hashes with a variable output size will set this variable to
!         None.
  
      Hashing objects require a single attribute:
***************
*** 66,70 ****
          output size, this output size must be chosen when the hashing
          object is created, and this attribute must contain the
!         selected size.  Therefore 0 is *not* a legal value for this
          attribute.
                  
--- 67,71 ----
          output size, this output size must be chosen when the hashing
          object is created, and this attribute must contain the
!         selected size.  Therefore None is *not* a legal value for this
          attribute.
                  
***************
*** 120,130 ****
      to objects; added .hexdigest() method.
      2001-09-20: Removed reset() method completely.
  
  
  Acknowledgements
  
!     Thanks to Andrew Archibald, Rich Salz, Itamar Shtull-Trauring, and
!     the readers of the python-crypto list for their comments on this
!     PEP.
  
  
--- 121,132 ----
      to objects; added .hexdigest() method.
      2001-09-20: Removed reset() method completely.
+     2001-09-28: Set digest_size to None for variable-size hashes.
  
  
  Acknowledgements
  
!     Thanks to Aahz, Andrew Archibald, Rich Salz, Itamar
!     Shtull-Trauring, and the readers of the python-crypto list for
!     their comments on this PEP.