View Source Kadena.Cryptography.KeyPair.Spec behaviour (Kadena v0.19.1)
Specification for Cryptography.KeyPair
contracts.
Link to this section Summary
Link to this section Types
@type keypair() :: Kadena.Types.KeyPair.t()
@type secret_key() :: String.t()
Link to this section Callbacks
@callback from_secret_key(secret_key()) :: {:ok, keypair()}
@callback generate() :: {:ok, keypair()}