ExKeypair
RSA key pair generation in Elixir, using OpenSSL ports
Installation
The package can be installed as:
Add ex_keypair to your list of dependencies in
mix.exs:def deps do
[{:ex_keypair, "~> 0.0.3"}]end
Ensure ex_keypair is started before your application:
def application do
[applications: [:ex_keypair]]end
Example
You can use ex_keypair as a command line application, by running:
mix escript.build
./ex_keypairOr use it as an Elixir module:
{public, private} = ExKeypair.keypair()