# Functions
DecodeIDBase58 decodes a base58 encoded ID.
No description provided by the author
No description provided by the author
IDFromMarshalUtil unmarshals an ID using a MarshalUtil (for easier unmarshaling).
New creates a new identity from the given PublicKey.
NewID computes the ID corresponding to the given public key.
NewLocalIdentity creates a new LocalIdentity.
NewLocalIdentityWithIdentity creates a new LocalIdentity with a given LocalIdentity.
No description provided by the author
ParseID parses a hex encoded ID.
RandomIDInsecure creates a random id which can for example be used in unit tests.
RegisterIDAlias registers an alias that will modify the String() output of the ID to show a human readable string instead of the base58 encoded version of itself.
UnregisterIDAliases removes all aliases registered through the RegisterIDAlias function.
# Constants
IDLength defines the length of an ID.
# Type aliases
ID is a unique identifier for each peer.