Packages
Low-level elixir library to read, write, hash, and sign XDR primitive constructs used in the Stellar network.
Current section
Files
Jump to
Current section
Files
lib/key_pair/spec.ex
defmodule StellarBase.KeyPair.Spec do
@moduledoc """
Specifies the behaviour for KeyPair generators.
This Library allows you to use any crypto package of your choice. The default is Ed25519.
"""
@callback random :: {String.t(), String.t()}
@callback from_secret(String.t()) :: {String.t(), String.t()}
end