Structs§
Constants§
- DEFAULT_
MDH_ LEN - Default MDH length matching the primary mask (STUN/WebRTC = 20 bytes).
- DEFAULT_
ZERO_ MDH - Legacy constant kept for backward compatibility references.
Functions§
- build_
inner_ packet - build_
random_ mdh_ packet - Build a packet with random MDH of given length (Issue #30 fix). Each call generates fresh random MDH bytes, eliminating static fingerprints.
- build_
zero_ mdh_ packet - Legacy: build packet with 4-byte zero MDH (kept for backward compatibility).
- counter_
to_ nonce - decode_
packet_ with_ mdh_ len - obfuscate_
client_ eph_ pub - process_
server_ hello_ with_ mdh_ len