Discover Packages
github.com/mullvad/apisocks5
internal
ipv6md
addrportxorv2
package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: Feb 3, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Encode encodes the given address, port and XOR encryption details in an IPv6
formatted slice of bytes.
AddrPortXORV2 is used by the Decode function to encapsulate the returned
values.
Decode assumes an IPv4 address and port and a 1-6 bytes long key, has been
encoded within the IPv6 address. It returns a netip.AddrPort with the
information.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.