MCPcopy Index your code
hub / github.com/secdev/scapy / repr_hex

Function repr_hex

scapy/utils.py:394–397  ·  view source on GitHub ↗

Convert provided bitstring to a simple string of hex digits

(s)

Source from the content-addressed store, hash-verified

392
393
394def repr_hex(s):
395 # type: (bytes) -> str
396 """ Convert provided bitstring to a simple string of hex digits """
397 return "".join("%02x" % orb(x) for x in s)
398
399
400@conf.commands.register

Callers 7

vprint_sessioninfoMethod · 0.90
http_sessioninfoMethod · 0.90
vprint_sessioninfoMethod · 0.90
debug_reprMethod · 0.90
compute_master_secretMethod · 0.90
i2reprMethod · 0.90

Calls 2

orbFunction · 0.90
joinMethod · 0.80

Tested by

no test coverage detected