[Openstack] [Cinder-backup]why use sha256 instead md5 in chunk based backup-driver

yuliyang at cmss.chinamobile.com yuliyang at cmss.chinamobile.com
Tue Apr 11 07:52:12 UTC 2017


hi,all
   why we use sha256 instead md5 in chunk based backup-driver , in the current file chunkeddriver.py, we have object_sha256['sha256s'] list to store all the sha256 value of sha_block_size data , why we do not use md5 ,md5 is faster compute than sha256,and we all use the md5 value in  _backup_chunk too, so we just need to compute one time and used in two diffrent place,it save much time



yuliyang at cmss.chinamobile.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170411/9fd29a70/attachment.html>


More information about the Openstack mailing list