在python3中,多次调用hexgigest返回的值不同

时间:2019-04-21 14:53:42

标签: python-3.x hashlib

在python3中,多次调用hexgigest返回的值不同。为什么我不明白?谢谢

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">

<p> Here is our dresses in 2019</p>
<form>
  <video src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" width="1000" id="mavideo" > </video> 
  <br>
  <button id="play"><i class="fas fa-play" style="font-size:36px;"></i> </button>
  <button id="pause"><i class="fas fa-pause" style="font-size:36px;"></i> </button>
  <button id="stop"><i class="fas fa-stop" style="font-size:36px;"> </i> </button>
  <button id="reculer"><i class="fas fa-caret-left" style="font-size:36px;"></i> </button>
  <button id="avancer"><i class="fas fa-caret-right" style="font-size:36px;"></i></button>
</form>

1 个答案:

答案 0 :(得分:1)

read the docs

  

对[update]的重复调用等效于将所有参数串联在一起的单个调用:m.update(a); m.update(b)等效于m.update(a+b)