Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKeyPair

func GenerateKeyPair(reader io.Reader) (crypto.PrivKey, crypto.PubKey, error)

    GenerateKeyPair generates a private and a public key to use with libp2p peer

    func GetIdentity

    func GetIdentity(storage interfaces.Storage) (crypto.PrivKey, crypto.PubKey, error)

      GetIdentity returns the created private and public key from storage

      Types

      This section is empty.

      Source Files