<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
body
        {line-height:1.5}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>
<div style="font-size: 13.3333px;">Hi,</div>
<div style="font-size: 13.3333px;"><br>
</div>
<div style="font-size: 13.3333px;">Please see the following article regarding the risks of using MD5.</div>
<div style="font-size: 13.3333px;"><br>
</div>
<div style="font-size: 13.3333px;">
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px; background-color: rgb(255, 255, 255);">
<a href="http://searchsecurity.techtarget.com/news/4500270165/MD5-vulnerability-renews-calls-for-faster-SHA-256-transition" target="_blank" style="color: rgb(17, 85, 204);">http://searchsecurity.<wbr>techtarget.com/news/<wbr>4500270165/MD5-vulnerability-<wbr>renews-calls-for-faster-SHA-<wbr>256-transition</a></div>
</div>
<div style="font-size: 13.3333px;"><br>
</div>
<div style="font-size: 13.3333px;">Thanks,</div>
<div style="font-size: 13.3333px;">Xing</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF748807" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> yuliyang@cmss.chinamobile.com [yuliyang@cmss.chinamobile.com]<br>
<b>Sent:</b> Tuesday, April 11, 2017 3:52 AM<br>
<b>To:</b> openstack<br>
<b>Subject:</b> [Openstack] [Cinder-backup]why use sha256 instead md5 in chunk based backup-driver<br>
</font><br>
</div>
<div></div>
<div>
<div><span></span>hi,all</div>
<div>   why we use sha256 instead md5 in chunk based backup-driver , in the current file chunkeddriver.py, we have <span style="font-size:10.5pt; line-height:1.5">object_sha256['sha256s'] list to store all the sha256 value of</span><span style="line-height:1.5"> </span><span style="orphans:2; widows:2; line-height:1.5">sha_block_size
 data , why we do not use md5 ,md5 is faster compute than sha256,and we all use the md5 value in  </span><span style="font-size:10.5pt; line-height:1.5">_backup_chunk too, so we just need to compute one time and used in two diffrent place,it save much time</span></div>
<div><br>
</div>
<hr color="#b5c4df" size="1" align="left" style="width:210px; height:1px">
<div><span>
<div style="margin:10px; font-family:verdana; font-size:10pt">
<div>yuliyang@cmss.chinamobile.com</div>
</div>
</span></div>
</div>
</div>
</div>
</body>
</html>