LibsignalProtocol (libsignal_protocol v0.1.1)
View SourceElixir wrapper for the Signal Protocol library. Provides a clean, idiomatic interface for secure messaging.
Summary
Functions
Creates a new session for a recipient using a public key.
Returns {:ok, session}
on success or {:error, reason}
on failure.
Creates a new session using local private key and remote public key.
Returns {:ok, session}
on success or {:error, reason}
on failure.
Generates a new identity key pair.
Returns {:ok, {public_key, signature}}
on success.
Initializes the Signal Protocol library.
Returns :ok
on success or {:error, reason}
on failure.
Functions
Creates a new session for a recipient using a public key.
Returns {:ok, session}
on success or {:error, reason}
on failure.
Creates a new session using local private key and remote public key.
Returns {:ok, session}
on success or {:error, reason}
on failure.
Generates a new identity key pair.
Returns {:ok, {public_key, signature}}
on success.
@spec init() :: :ok | {:error, String.t()}
Initializes the Signal Protocol library.
Returns :ok
on success or {:error, reason}
on failure.