Implementation of P_SHA1 algorithm in PHP

后端 未结 4 572
长情又很酷
长情又很酷 2021-01-03 15:36

we are trying to implement a function P_SHA1 means PHP. The pattern of the function written in Python. But, unfortunately, something is not working properly. Here is the imp

4条回答
  •  生来不讨喜
    2021-01-03 15:48

    Are you looking for the readymade SHA1 function or something else? This will give you the SHA1 hash, and if you put true in the second argument, it'll give you it in binary. Otherwise, It will give it to you in hex

提交回复
热议问题