Cryptography

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

123 packages
  • Crypto-related functionality for the web

    96
    5.2m last 90 days
  • jose 1.11.12

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

    337
    3.0m last 90 days
  • Bcrypt password hashing algorithm for Elixir

    174
    1.3m last 90 days
  • cloak 1.1.4

    Elixir encryption library

    626
    814.3k last 90 days
  • Encrypted fields for Ecto

    215
    658.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

    132
    439.2k last 90 days
  • Argon2 password hashing algorithm for Elixir

    253
    411.0k last 90 days
  • A convienance library based on Ruby's SecureRandom

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

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

    53
    140.6k last 90 days
  • ed25519 1.5.1

    Ed25519 signature functions

    19
    140.2k last 90 days
  • kcl 1.5.1

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

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

    9
    123.4k last 90 days
  • Poly1305 message authentication

    1
    120.9k last 90 days
  • Chacha20 symmetric stream cipher

    5
    120.8k last 90 days
  • salsa20 1.0.4

    Salsa20 symmetric stream cipher

    4
    120.6k last 90 days
  • constant time polymorphic comparisons

    2
    120.6k last 90 days
  • nkeys 0.3.1

    Support for nkey generation, parsing, and signing

    165
    118.5k last 90 days
  • A Gleam cryptography library supporting Erlang and JavaScript

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

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

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

    29
    51.4k 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
    41.2k last 90 days
  • pkcs7 1.0.2

    PKCS7 binary padding for erlang

    37.1k last 90 days
  • blake2 1.0.4

    BLAKE2 hash functions

    9
    34.0k last 90 days
  • spake2 0.1.0

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

    0
    31.0k last 90 days
  • An implementation of HKDF in Erlang.

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

    17
    28.1k last 90 days
  • ex_dtls 0.18.1

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

    14
    27.5k last 90 days
  • hkdf 0.3.0

    HMAC-based key derivation function.

    8
    27.4k last 90 days
  • bcrypt 1.2.2

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

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

    2
    23.3k last 90 days
  • siphash 3.2.0

    Elixir implementation of the SipHash hash family

    19
    22.0k last 90 days
  • Erlang's best pbkdf2 implementation

    11
    19.5k last 90 days
  • Web push encryption library

    62
    18.8k last 90 days
  • OpenPGP Message Format in Elixir - RFC4880

    15
    16.9k 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
    16.1k last 90 days
  • jwerl 1.2.0

    JWT Library for Erlang and Elixir

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

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

    0
    12.0k 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
  • Erlang PBKDF2 Key Derivation Function

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

    10.0k last 90 days
  • Exthereum's Crypto Suite.

    21
    9.7k last 90 days
  • pbcs 0.1.4

    PKCS #5: Password-Based Cryptography Specification Version 2.0

    20
    9.4k last 90 days
  • pkix 1.0.10

    PKIX management

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

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

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

    161
    9.2k last 90 days
  • NIF for Ed25519 curve functions

    4
    9.0k last 90 days
  • eblake2 1.0.0

    A pure Erlang Blake2 implementation

    52
    8.8k last 90 days
  • Mnemonic generation according to the BIP-39 standard

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

    3
    8.8k 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
    8.7k last 90 days
  • curvy 0.3.1

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

    27
    8.6k 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
    7.9k last 90 days
  • A lightweight and fast pure Elixir ECDSA library.

    28
    7.4k last 90 days
  • Erlang NIF bindings for the the libsecp256k1 library

    9
    7.2k last 90 days
  • rsa_ex 0.4.0

    Library for working with RSA keys.

    39
    7.1k last 90 days
  • Simple crypto helpers for Elixir.

    0
    6.7k last 90 days
  • Keccak-f[1600] asynchronous port driver

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

    32
    6.7k last 90 days
  • eip_55 0.1.0

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

    7
    6.6k last 90 days
  • rsa 1.0.0

    Erlang public_key cryptography wrapper

    36
    6.3k last 90 days
  • A simple constant-time comparison algorithm for Elixir

    19
    6.0k last 90 days
  • Hierarchical deterministic wallet (HD Wallet)

    27
    5.9k last 90 days
  • Ethereum's Blockchain Manager

    93
    5.9k last 90 days
  • cipher 1.4.0

    Elixir crypto library to encrypt/decrypt arbitrary binaries.

    62
    5.9k last 90 days
  • An Erlang library for libp2p related cryptography functions

    11
    5.9k 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
    5.9k last 90 days
  • Efficiently generate cryptographically strong random passwords using alpha (including Unicode), numeric and special symbols.

    9
    5.9k last 90 days
  • xxhash 0.3.1

    Native Elixir xxHash port.

    30
    5.8k last 90 days
  • jargon 1.1.0

    Modern Argon2 password hashing for Erlang

    11
    5.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
    5.6k last 90 days
  • An Elixir NaCl/libsodium-lite Salsa20/ChaCha20 encryption tool

    4
    5.5k last 90 days
  • Secure Element support for GRiSP2 based on cryptoauthlib

    6
    5.4k last 90 days
  • web3 0.1.6

    A Elixir library for interacting with Ethereum

    26
    5.1k last 90 days
  • walle 0.5.0

    NIF library for recovering ethereum based wallet addresses.

    1
    5.0k last 90 days
  • mickex 0.1.0

    Implementation of the mickey-128 crypto algorithm in elixir.

    0
    5.0k last 90 days
  • ex_web3 0.2.3

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

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

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

    0
    5.0k last 90 days
  • pbkdf2 2.0.0

    Erlang PBKDF2 Key Derivation Function

    17
    5.0k 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
    5.0k last 90 days
  • cerlc 0.2.1

    A Native Erlang Configurable CRC function generator

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

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

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

    2
    4.9k last 90 days
  • mcrypto 0.2.2

    Multiple crypto support.

    8
    4.9k last 90 days
  • cool sdk for Sui Blockchain.

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

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

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

    12
    4.9k last 90 days
  • Crypto lib extension to support AES 128 ECB cipher

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

    2
    4.9k last 90 days
  • ehash 0.2.1

    A library to consistently crypto-hash Erlang Terms

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

    0
    4.8k last 90 days
  • A TEA implementation in Erlang.

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

    4.8k last 90 days
  • Common cryptography algorithm and cryptanalysis.

    0
    4.8k last 90 days
  • silicon 0.1.0

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

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

    0
    4.8k last 90 days
  • Todo

    2
    4.8k last 90 days
  • hairnet 1.0.0

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

    29
    4.8k last 90 days
  • krypto 0.1.1

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

    6
    4.8k last 90 days
  • Ethereum utilities for Elixir with a recent update.

    1
    4.8k last 90 days
  • Cryptographic operation library for NextHub

    4.8k last 90 days
  • A Ecto migration for Feistel cipher

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

    0
    4.8k last 90 days
  • Implementation of the micket 128 crypto algorithm in elixir.

    0
    4.8k last 90 days
  • TripleDES crypto

    1
    4.7k 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
    4.5k last 90 days
  • Library wrapping around secp256k1 Bitcoin library

    4
    4.5k last 90 days
  • scrypt 2.1.3

    Erlang NIF for scrypt

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

    22
    4.3k last 90 days
  • KittenBlue is a JOSE wrapper library that makes JWT implementation simpler for Elixir.

    0
    3.5k last 90 days
  • River's Proof of Reserves library

    24
    3.5k last 90 days
  • argus 2.0.0

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

    30
    3.4k last 90 days
  • enacl 1.2.1

    Erlang libsodium (NaCl) bindings

    196
    3.3k last 90 days
  • kryptos 1.5.0

    Cryptography library for Gleam targeting Erlang and JavaScript

    18
    3.1k last 90 days
  • munch 1.0.1

    A replacement for gleam_crypto that works on all targets.

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

    36
    2.9k last 90 days
  • Zotonic SSL routines

    3
    2.9k last 90 days