Categorygithub.com/go-i2p/i2pkeys
modulepackage
0.33.92
Repository: https://github.com/go-i2p/i2pkeys.git
Documentation: pkg.go.dev

# README

i2pkeys

Generates and displays the contents of files that are storing i2p keys in the incompatible format used for sam3

Go Report Card

Verbosity

Logging can be enabled and configured using the DEBUG_I2P environment variable. By default, logging is disabled.

There are three available log levels:

  • Debug
export DEBUG_I2P=debug
  • Warn
export DEBUG_I2P=warn
  • Error
export DEBUG_I2P=error

If DEBUG_I2P is set to an unrecognized variable, it will fall back to "debug".

# Functions

Makes any string into a *.b32.i2p human-readable I2P address.
create a desthash from a []byte array.
create a desthash from a string b32.i2p address.
No description provided by the author
GetI2PKeysLogger returns the initialized logger.
No description provided by the author
load keys from non-standard format by specifying a text file.
LoadKeysIncompat loads keys from a non-standard format.
No description provided by the author
HELLO VERSION MIN=3.1 MAX=3.1 DEST GENERATE SIGNATURE_TYPE=7 */.
Creates a new I2P address from a byte array.
Creates a new I2P address from a base64-encoded string.
Creates I2PKeys from an I2PAddr and a public/private keypair string (as generated by String().).
No description provided by the author
store keys in non standard format.

# Variables

If you set this to true, Addr will return a base64 String().

# Structs

The public and private keys associated with an I2P destination.

# Interfaces

No description provided by the author

# Type aliases

I2PAddr represents an I2P destination, almost equivalent to an IP address.
an i2p destination hash, the .b32.i2p address if you will.