SHA-256 implementation in Python

前端 未结 4 1264
灰色年华
灰色年华 2020-12-28 14:57

I\'m looking for an implementation of the SHA-256 hash function written in Python. I want to use it to get a better understanding of how the SHA-256 function works, and I th

4条回答
  •  心在旅途
    2020-12-28 15:52

    Translating http://en.wikipedia.org/wiki/SHA-2#SHA-256_.28a_SHA-2_variant.29_pseudocode to Python should be straight forward.

提交回复
热议问题