An open API service indexing awesome lists of open source software.

https://github.com/elefthei/ex_keypair

Elixir RSA KeyPair generator module.
https://github.com/elefthei/ex_keypair

Last synced: about 1 year ago
JSON representation

Elixir RSA KeyPair generator module.

Awesome Lists containing this project

README

          

# ExKeypair

**RSA key pair generation in Elixir, using OpenSSL ports (deprecated, moved to elefthei/krypto)**
https://github.com/elefthei/krypto

## Installation

The package can be installed as:

1. Add ex_keypair to your list of dependencies in `mix.exs`:

def deps do
[{:ex_keypair, "~> 0.0.3"}]
end

2. 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_keypair

Or use it as an Elixir module:

{public, private} = ExKeypair.keypair()