Cryptopunk.Key (cryptopunk v0.4.0)

Utility functions to work with keys

Link to this section Summary

Link to this section Types

Specs

t() :: %Cryptopunk.Key{
  chain_code: term(),
  depth: term(),
  index: term(),
  key: term(),
  parent_fingerprint: term(),
  type: term()
}

Link to this section Functions

Link to this function

deserialize(encoded_key)

Specs

deserialize(binary()) :: t()
Link to this function

master_key(seed)

Specs

master_key(binary()) :: t()

Specs

new(Keyword.t()) :: t()
Link to this function

new_master_private(opts)

Specs

new_master_private(Keyword.t()) :: t()
Link to this function

new_master_public(opts)

Specs

new_master_public(Keyword.t()) :: t()
Link to this function

new_private(opts)

Specs

new_private(Keyword.t()) :: t()
Link to this function

new_public(opts)

Specs

new_public(Keyword.t()) :: t()
Link to this function

public_from_private(key)

Specs

public_from_private(t()) :: t() | no_return()
Link to this function

serialize(key, version)

Specs

serialize(t(), binary()) :: String.t()