Popularity
3.6
Growing
Activity
0.0
Stable
31
1
1
Monthly Downloads: 241
Programming language: Elixir
License: MIT License
Tags:
Cryptography
rsa alternatives and similar packages
Based on the "Cryptography" category.
Alternatively, view rsa alternatives based on common mentions on social networks and blogs.
-
pot
POT is an Erlang library for generating Google Authenticator compatible one time passwords -
one_time_pass_ecto
No longer maintained - One-time password library with Ecto support (for Elixir) -
siphash-elixir
An Elixir implementation of the SipHash cryptographic hash family -
crypto_rsassa_pss
RSASSA-PSS Public Key Cryptographic Signature Algorithm for Erlang and Elixir. -
ntru_elixir
Elixir wrapper around libntru. NTRU is a post quantum cryptography algorithm.
Bot detection and prevention for Elixir/Phoenix applications
Paraxial.io is bot detection and prevention for Elixir/Phoenix applications. Dealing with scrapers, card cracking, or credential stuffing? We take care of that.
Promo
paraxial.io
Do you think we are missing an alternative of rsa or a related project?
Popular Comparisons
README
Easy RSA encryption/decryption in Elixir
This module wraps Erlang's public_key
module, making RSA encryption/decryption a trivial task.
# Decode your public and private keys
public_key = RSA.decode_key "-----BEGIN RSA PUBLIC KEY----- ..."
private_key = ...
# Encrypt a string using the public key and decrypt it using the private key
plaintext = "hello world"
cyphertext = plaintext |> RSA.encrypt {:public, public_key}
# << ... encrypted binary data ... >>
# Encode it to base64
encrypted_b64 = :base64.encode_to_string cyphertext
# "... base64 ASCII text ..."
# Decode a base64 encrypted string and decrypt it
cyphertext = :base64.decode encrypted_b64
plaintext = cyphertext |> RSA.decrypt {:private, private_key}
# "hello world"