[Checkins] SVN: Zope/branches/gsoc-python-2.5/utilities/mkzopeinstance.py sha -> hashlib
    Andreas Jung 
    lists at zopyx.com
       
    Thu Oct 16 00:47:17 EDT 2008
    
    
  
On 15.10.2008 23:19 Uhr, Philipp von Weitershausen wrote:
> To my knowledge, sha.new() and hashlib.sha256() aren't equivalent. A
> quick test on the interpeter prompt confirms that, though perhaps I'm
> missing something... Is there a particular reason why you chose
> hashlib.sha256() and not hashlib.sha1() which seems to be the equivalent
> to sha.new()?
I had in mind that sha256() and sha1() were in some way compatible but 
you are obviously right. Independent of this issue we might switch to 
SHA256 since SHA1 is already considered weak and broken.
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/checkins/attachments/20081016/49729f62/attachment.vcf 
    
    
More information about the Checkins
mailing list