MCPcopy Create free account
hub / github.com/echQoQ/RustSL / bytes_to_ipv6

Function bytes_to_ipv6

encrypt_lib/ipv6.py:12–17  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

10 return sha.digest()
11
12def bytes_to_ipv6(b):
13 parts = []
14 for i in range(0, 16, 2):
15 v = int.from_bytes(b[i:i+2], 'big')
16 parts.append(f'{v:04X}')
17 return ':'.join(parts)
18
19def process(data, args):
20 addresses = []

Callers 1

processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected