Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Bitmessage/PyBitmessage
/ equals
Function
equals
src/pyelliptic/hash.py:29–33 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
27
28
29
def
equals(a, b):
30
if
isinstance(a, str):
31
return
_equals_str(a, b)
32
else
:
33
return
_equals_bytes(a, b)
34
35
36
def
hmac_sha256(k, m):
Callers
1
decrypt
Method · 0.90
Calls
2
_equals_str
Function · 0.85
_equals_bytes
Function · 0.85
Tested by
no test coverage detected