Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destination ¶
type Destination []byte
Destination is public key for i2p router
func DecodeDestination ¶
func DecodeDestination(s string) (d Destination, err error)
DecodeDestination from i2p base64 destination key format
func (Destination) Address ¶
func (d Destination) Address() net.IP
Address returns ipv6 ephemeral address based on sha3 hash
func (Destination) Base32 ¶
func (d Destination) Base32() string
Base32 is sha256 hash encoded in i2p b32
Click to show internal directories.
Click to hide internal directories.