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.
- Host: GitHub
- URL: https://github.com/elefthei/ex_keypair
- Owner: elefthei
- License: mit
- Created: 2016-07-10T18:05:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-17T02:48:44.000Z (almost 10 years ago)
- Last Synced: 2025-04-11T21:19:35.046Z (about 1 year ago)
- Language: Elixir
- Homepage: https://hex.pm/packages/ex_keypair
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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()