Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jtesta/ssh-audit
/ crc32
Method
crc32
src/ssh_audit/ssh1.py:37–40 ·
view source on GitHub ↗
(cls, v: bytes)
Source
from the content-addressed store, hash-verified
35
36
@classmethod
37
def
crc32(cls, v: bytes) -> int:
38
if
cls._crc32 is None:
39
cls._crc32 = SSH1_CRC32()
40
return
cls._crc32.calc(v)
Callers
3
_create_ssh1_packet
Method · 0.80
test_crc32
Method · 0.80
read_packet
Method · 0.80
Calls
2
SSH1_CRC32
Class · 0.90
calc
Method · 0.80
Tested by
2
_create_ssh1_packet
Method · 0.64
test_crc32
Method · 0.64