package mirage-crypto

  1. Overview
  2. Docs
Simple symmetric cryptography for the modern age

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mirage-crypto-0.11.3.tbz
sha256=bfb530fa169cd905ebc7e2449f3407cfbd67023ac0b291b8b6f4a1437a5d95b1
sha512=7b6f4e8128622b53eb2176881b5d6160f224e8606c7dd21aaf47974f15db7aa475cffaff3214aaaabba0f8986398f159c1fbb1bff29228c9b0a3fae67ef8d731

doc/mirage-crypto/Mirage_crypto/index.html

Module Mirage_cryptoSource

Simpler crypto

Mirage-crypto is a cryptographic library.

The overarching API principle is simply mapping inputs to outputs, wherever feasible.

Similar algorithms in the same class (like hashes or block ciphers) are presented as distinct modules sharing the same signature.

The opam package mirage-crypto-rng provides a cryptographically secure pseudo-random number generator, the package mirage-crypto-pk provides public key cryptography.

Hashing

Sourcemodule Hash : sig ... end

Hashes.

module Poly1305 : sig ... end

The poly1305 message authentication code

Symmetric-key cryptography

Sourcemodule type AEAD = sig ... end

Authenticated encryption with associated data.

Sourcemodule Cipher_block : sig ... end

Block ciphers.

Sourcemodule Chacha20 : sig ... end

The ChaCha20 cipher proposed by D.J. Bernstein.

module Cipher_stream : sig ... end

Streaming ciphers.