silicon v0.1.0 Silicon.Ed25519 View Source
A wrapper of libdecaf
Link to this section Summary
Link to this section Types
Link to this type
public_key()
View Source
public_key()
View Source
public_key() :: binary()
public_key() :: binary()
Link to this type
secret()
View Source
secret()
View Source
secret() :: binary()
secret() :: binary()
Link to this type
secret_key()
View Source
secret_key()
View Source
secret_key() :: binary()
secret_key() :: binary()
Link to this type
signature()
View Source
signature()
View Source
signature() :: binary()
signature() :: binary()
Link to this section Functions
Link to this function
key_pair()
View Source
key_pair()
View Source
key_pair() :: {public_key(), secret_key()}
key_pair() :: {public_key(), secret_key()}
Link to this function
secret_key_to_public_key(secret_key)
View Source
secret_key_to_public_key(secret_key)
View Source
secret_key_to_public_key(secret_key()) :: {:ok, public_key()} | :error
secret_key_to_public_key(secret_key()) :: {:ok, public_key()} | :error
Link to this function
secret_key_to_secret(secret_key)
View Source
secret_key_to_secret(secret_key)
View Source
secret_key_to_secret(secret_key()) :: {:ok, secret()} | :error
secret_key_to_secret(secret_key()) :: {:ok, secret()} | :error
Link to this function
secret_to_public_key(secret)
View Source
secret_to_public_key(secret)
View Source
secret_to_public_key(secret()) :: {:ok, public_key()} | :error
secret_to_public_key(secret()) :: {:ok, public_key()} | :error
Link to this function
sign(data, secret_key)
View Source
sign(data, secret_key)
View Source
sign(binary(), secret_key()) :: {:ok, signature()} | :error
sign(binary(), secret_key()) :: {:ok, signature()} | :error
Link to this function
verify(signature, data, public_key)
View Source
verify(signature, data, public_key)
View Source
verify(binary(), binary(), public_key()) :: :ok | :error
verify(binary(), binary(), public_key()) :: :ok | :error