SHA-256 implementation in Python

前端 未结 4 1237
灰色年华
灰色年华 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:53

    PyPy's source contains a pure-python implementation of SHA-256 here. Poking around in that directory, you'll probably also find pure-python implementations of other standard hashes.

提交回复
热议问题