Libp2p.Identity (libp2p_elixir v0.9.0)

libp2p identity keys + PeerId.

Summary

Types

t()

@type t() :: %Libp2p.Identity{
  peer_id: binary(),
  privkey: binary(),
  pubkey_compressed: binary(),
  pubkey_uncompressed: binary()
}

Functions

generate_secp256k1()

@spec generate_secp256k1() :: t()