Cryptography

Encryption, hashing, and cryptographic utilities for secure applications. Packages among the 3,000 most downloaded in the past 90 days.

132 packages
  • Crypto-related functionality for the web

    96
    6.7m last 90 days
  • jose 1.11.12

    JSON Object Signing and Encryption (JOSE) for Erlang and Elixir.

    339
    3.6m last 90 days
  • Bcrypt password hashing algorithm for Elixir

    174
    1.6m last 90 days
  • cloak 1.1.4

    Elixir encryption library

    630
    960.4k last 90 days
  • Encrypted fields for Ecto

    215
    796.9k last 90 days
  • x509 0.9.2

    Elixir package for working with X.509 certificates, Certificate Signing Requests (CSRs), Certificate Revocation Lists (CRLs) and RSA/ECC key pairs

    134
    567.0k last 90 days
  • Argon2 password hashing algorithm for Elixir

    254
    561.2k last 90 days
  • A convienance library based on Ruby's SecureRandom

    213.7k last 90 days
  • Fast and efficient cryptographically strong versions of several Enum functions that rely on :rand uniform functions for randomness.

    3
    188.6k last 90 days
  • Pbkdf2 password hashing algorithm for Elixir.

    53
    168.1k last 90 days
  • ed25519 1.5.2

    Ed25519 signature functions

    19
    159.3k last 90 days
  • kcl 1.5.2

    KCl - a less savory pure Elixir NaCl (libsodium) crypto suite substitute

    13
    151.3k last 90 days
  • Curve25519 Diffie-Hellman functions

    9
    144.7k last 90 days
  • A Gleam cryptography library supporting Erlang and JavaScript

    60
    142.7k last 90 days
  • Poly1305 message authentication

    1
    142.4k last 90 days
  • Chacha20 symmetric stream cipher

    5
    142.3k last 90 days
  • constant time polymorphic comparisons

    2
    142.1k last 90 days
  • salsa20 1.0.4

    Salsa20 symmetric stream cipher

    4
    142.1k last 90 days
  • nkeys 0.3.1

    Support for nkey generation, parsing, and signing

    167
    138.3k last 90 days
  • An Ash extension to seamlessly encrypt and decrypt resource attributes.

    30
    100.2k last 90 days
  • pkcs7 1.0.2

    PKCS7 binary padding for erlang

    74.3k last 90 days
  • NIF library for computing Keccak SHA3-256 hashes using tiny-keccak Rust crate.

    29
    63.3k last 90 days
  • A wrapper around the Erlang Crypto module with sensible defaults for common tasks.

    161
    57.7k last 90 days
  • An implementation of HKDF in Erlang.

    5
    51.6k last 90 days
  • Rust Nif that wraps functions from the libsecp256k1 Rust library.

    17
    41.3k last 90 days
  • spake2 0.1.0

    SPAKE2 password-authenticated key exchange over Ed25519 (BoringSSL-compatible)

    0
    38.4k last 90 days
  • blake2 1.0.4

    BLAKE2 hash functions

    9
    37.0k last 90 days
  • hkdf 0.3.0

    HMAC-based key derivation function.

    8
    36.9k last 90 days
  • ex_dtls 0.18.1

    DTLS and DTLS-SRTP library for Elixir, based on OpenSSL.

    14
    35.1k last 90 days
  • ecies 1.1.0

    Customizable Erlang native ECIES public-key cryptography library, providing elliptic curve encryption as an alternative to the deprecated crypto public_encrypt, private_decrypt functions

    1
    33.8k last 90 days
  • bcrypt 1.2.2

    An Erlang wrapper (NIF or port program) for the OpenBSD password scheme, bcrypt.

    17
    31.8k last 90 days
  • siphash 3.2.0

    Elixir implementation of the SipHash hash family

    19
    30.8k last 90 days
  • An Elixir wrapper around the libsodium cryptographic library.Based on erlang-nif.

    2
    24.3k last 90 days
  • Erlang's best pbkdf2 implementation

    12
    22.8k last 90 days
  • OpenPGP Message Format in Elixir - RFC4880

    16
    20.0k last 90 days
  • Efficiently generate cryptographically strong random strings of specified entropy from various character sets. `EntropyString` is superseded by `Puid` (https://hex.pm/packages/puid).

    23
    19.6k last 90 days
  • Web push encryption library

    62
    19.3k last 90 days
  • jwerl 1.2.0

    JWT Library for Erlang and Elixir

    17.8k last 90 days
  • Elixir library for signing and validating requests

    0
    14.1k last 90 days
  • Ethereum BLS signature verification using BLST library

    0
    14.1k last 90 days
  • Exthereum's Crypto Suite.

    21
    12.4k last 90 days
  • eblake2 1.0.0

    A pure Erlang Blake2 implementation

    53
    12.0k last 90 days
  • Erlang PBKDF2 Key Derivation Function

    1
    11.5k last 90 days
  • pkix 1.0.10

    PKIX management

    12
    11.5k last 90 days
  • Erlang NIF bindings for the the libsecp256k1 library

    9
    11.5k last 90 days
  • ex_sha3 0.1.5

    ExSha3 is a pure Elixir implementation of Sha3 and the original Keccak1600-f

    16
    11.4k last 90 days
  • 32 bit variant of the Murmur3 non-cryptographic hash function

    10.8k last 90 days
  • AWS S3 client-side encryption support

    3
    10.5k last 90 days
  • A lightweight and fast pure Elixir ECDSA library.

    28
    10.5k last 90 days
  • Elixir implementation of Fernet library based on https://github.com/fernet/spec

    11
    10.4k last 90 days
  • Pbkdf2 for Elixir by a Rust-based NIF

    4
    10.4k last 90 days
  • curvy 0.3.1

    Curvy is a pure Elixir implementation of secp256k1 for ECDSA signatures and Bitcoin flavoured crypto.

    27
    10.3k last 90 days
  • NIF for Ed25519 curve functions

    4
    10.1k last 90 days
  • Mnemonic generation according to the BIP-39 standard

    3
    10.0k last 90 days
  • Evil version of the crc32c algorithm. It uses the bitwise arithmetic used in javascript, i.e. operands are converted to i32

    1
    9.9k last 90 days
  • Attributed fork of hayesgm/signet — Ethereum key manager and RPC client for Elixir. Placeholder release; active development lands in 0.1.x.

    0
    9.5k last 90 days
  • A wrapper around the Erlang Crypto module with sensible defaults for common tasks.

    161
    9.5k last 90 days
  • pbcs 0.1.4

    PKCS #5: Password-Based Cryptography Specification Version 2.0

    19
    8.7k last 90 days
  • rsa_ex 0.4.0

    Library for working with RSA keys.

    39
    8.7k last 90 days
  • An Erlang library for libp2p related cryptography functions

    11
    8.5k last 90 days
  • rsa 1.0.0

    Erlang public_key cryptography wrapper

    36
    8.5k last 90 days
  • An Elixir NaCl/libsodium-lite Salsa20/ChaCha20 encryption tool

    4
    8.2k last 90 days
  • Simple crypto helpers for Elixir.

    0
    8.1k last 90 days
  • eip_55 0.1.0

    Encode and validate an Ethereum address against EIP-55 checksum in Elixir.

    7
    7.9k last 90 days
  • kryptos 1.5.0

    Cryptography library for Gleam targeting Erlang and JavaScript

    19
    7.7k last 90 days
  • jargon 1.1.0

    Modern Argon2 password hashing for Erlang

    11
    7.7k last 90 days
  • Encryption primitives and key providers for Barrel (AES-256-GCM envelope, offset-addressable CTR, HKDF key derivation)

    32
    7.6k last 90 days
  • This package generates Hierarchical Deterministic blockchain wallets for multiple currencies.

    32
    7.5k last 90 days
  • Keccak-f[1600] asynchronous port driver

    2
    7.5k last 90 days
  • cipher 1.4.0

    Elixir crypto library to encrypt/decrypt arbitrary binaries.

    63
    7.1k last 90 days
  • Hierarchical deterministic wallet (HD Wallet)

    27
    7.0k last 90 days
  • blake3 1.0.2

    Elixir binding for the Rust Blake3 implementation

    17
    6.8k last 90 days
  • caustic 0.1.25

    An Elixir cryptocurrency library which contains algorithms used in Bitcoin, Ethereum, and other blockchains. Includes a rich cryptography, number theory, and general mathematics class library.

    5
    6.7k last 90 days
  • NaCl-compatible encryption for Elixir with ML-KEM-768 post-quantum support. Precompiled Rust NIFs — no C compiler or system packages needed.

    3
    6.7k last 90 days
  • enacl 1.2.1

    Erlang libsodium (NaCl) bindings

    195
    6.5k last 90 days
  • Secure Element support for GRiSP2 based on cryptoauthlib

    6
    6.5k last 90 days
  • A native Elixir SDK for the Hedera network: Ed25519 / ECDSA secp256k1 keys, gRPC over HTTP/2, and the Consensus, Crypto (incl. accounts), Token (HTS), File, Schedule and Smart Contract services — plus EIP-1559 Ethereum transactions and free/paid queries.

    0
    6.5k last 90 days
  • pbkdf2 2.0.0

    Erlang PBKDF2 Key Derivation Function

    16
    6.5k last 90 days
  • Secure, memorable password generation using the XKPasswd method. Combines random words with configurable transforms to create strong, easy-to-remember passwords. Zero runtime dependencies, uses only Elixir stdlib and :crypto.

    2
    6.3k last 90 days
  • Ethereum's Blockchain Manager

    92
    6.3k last 90 days
  • web3 0.1.6

    A Elixir library for interacting with Ethereum

    26
    6.2k last 90 days
  • walle 0.5.0

    NIF library for recovering ethereum based wallet addresses.

    1
    6.2k last 90 days
  • ex_web3 0.2.3

    Utility functions for Elixir to simplify working with secp256k1 elliptic curve and EVM-based networks.

    6.2k last 90 days
  • Library for recovering web3 ETH signatures.

    0
    6.2k last 90 days
  • mcrypto 0.2.2

    Multiple crypto support.

    8
    6.2k last 90 days
  • mickex 0.1.0

    Implementation of the mickey-128 crypto algorithm in elixir.

    0
    6.1k last 90 days
  • Implementation of the printcipher48 crypto algorithm in elixir.

    0
    6.1k last 90 days
  • xxhash 0.3.1

    Native Elixir xxHash port.

    30
    6.1k last 90 days
  • A simple Cryptography Implementation in Elixir for the Ark Blockchain.

    2
    6.1k last 90 days
  • Library for recovering web3 ETH signatures.

    10
    6.1k last 90 days
  • EctoCrypto provides Ecto Types relating to Cryptographic concerns such as encrypted or hashed data.

    1
    6.1k last 90 days
  • Library wrapping around secp256k1 Bitcoin library

    4
    6.1k last 90 days
  • munch 1.0.1

    A replacement for gleam_crypto that works on all targets.

    6.1k last 90 days
  • Faster Rust Keccak implementation of EIP-55. Encode and validate an Ethereum address against EIP-55 checksum in Elixir.

    1
    6.1k last 90 days
  • cool sdk for Sui Blockchain.

    6.1k last 90 days
  • CryptoNight native library for Elixir/Erlang

    2
    6.0k last 90 days
  • RSASSA-PSS Public Key Cryptographic Signature Algorithm for Erlang and Elixir.

    12
    6.0k last 90 days
  • A TEA implementation in Erlang.

    0
    6.0k last 90 days
  • Ethereum EIP-4844 KZG trusted setup verification NIF bindings.

    0
    6.0k last 90 days
  • Crypto lib extension to support AES 128 ECB cipher

    10
    6.0k last 90 days
  • Common cryptography algorithm and cryptanalysis.

    0
    6.0k last 90 days
  • silicon 0.1.0

    A wrapper of Elixir/Erlang crypto packages. Lots of extra test cases added.

    2
    6.0k last 90 days
  • Cryptographic acccumulator using BLS12-381 pairing for Elixir

    0
    6.0k last 90 days
  • Ethereum utilities for Elixir with a recent update.

    1
    6.0k last 90 days
  • Crypto module with NIF's for generate RSA keys with DES3 + encrypt/decrypt data

    0
    6.0k last 90 days
  • krypto 0.1.1

    Crypto implementation in Elixir, using Erlang crypto, public_key and OpenSSL ports.

    6
    6.0k last 90 days
  • ehash 0.2.1

    A library to consistently crypto-hash Erlang Terms

    6.0k last 90 days
  • Todo

    2
    6.0k last 90 days
  • Implementation of the micket 128 crypto algorithm in elixir.

    0
    6.0k last 90 days
  • cerlc 0.2.1

    A Native Erlang Configurable CRC function generator

    20
    6.0k last 90 days
  • hairnet 1.0.0

    An Erlang library wrapping AES-GCM (AEAD) crypto in a Fernet-like interface

    29
    6.0k last 90 days
  • A modern cryptography library for Gleam, built with safety and ease of use in mind.

    6.0k last 90 days
  • Cryptographic operation library for NextHub

    6.0k last 90 days
  • TripleDES crypto

    1
    5.9k last 90 days
  • b3 0.2.1

    B3 is a pure Elixir implementation of the BLAKE3 hashing algorithm.

    5
    5.7k last 90 days
  • Efficiently generate cryptographically strong random passwords using alpha (including Unicode), numeric and special symbols.

    9
    5.3k last 90 days
  • A simple constant-time comparison algorithm for Elixir

    19
    5.2k last 90 days
  • argus 2.0.0

    Argon2 password hashing library for Gleam, based on the reference C implementation.

    30
    4.7k last 90 days
  • scrypt 2.1.3

    Erlang NIF for scrypt

    1
    4.7k last 90 days
  • Ergonomic envelope encryption for Elixir - vault module, pluggable key providers, per-tenant keys

    0
    4.6k last 90 days
  • A Ecto migration for Feistel cipher

    14
    4.6k last 90 days
  • Encrypts integer attributes using a Feistel cipher with a Postgres trigger.

    5
    4.6k last 90 days
  • Encrypted Ecto types for the Encryptor vault - drop-in field encryption with a two-line migration

    0
    4.5k last 90 days
  • md2 1.2.1

    An implementation of MD2 according to RFC1319.

    4
    4.4k last 90 days
  • Zotonic SSL routines

    3
    4.0k last 90 days
  • erlpass 1.0.7

    Safely handle passwords with bcrypt and Erlang

    166
    3.9k last 90 days
  • termit 2.0.1

    Securely serialize/deserialize Erlang terms

    10
    3.8k last 90 days
  • Patent-free ECC point compression for NIST P-256 keys.

    10
    3.6k last 90 days
  • gose 2.2.0

    Gleam implementation of JOSE (JSON Object Signing and Encryption) standards (JWS, JWE, JWK, and JWT)

    10
    3.6k last 90 days
  • SSL/X509 parsing for humans.

    36
    3.6k last 90 days
  • River's Proof of Reserves library

    24
    3.5k last 90 days
  • Key Server which can be used to encrypt and authenticate participants.

    0
    3.5k last 90 days