API Reference metamorphic_crypto v#0.8.2

Copy Markdown View Source

Modules

NaCl-compatible encryption for Elixir with post-quantum support.

X25519 anonymous sealed box (public-key encryption).

SHA-3 and SHA-2 cryptographic hashing for public data.

ML-KEM + X25519 hybrid post-quantum encryption.

Key derivation functions.

Key generation and private key management.

Message authentication codes — HMAC-SHA256 (RFC 2104 / FIPS 198-1).

Human-readable recovery keys for private key backup.

Unified seal/unseal with automatic format detection.

XSalsa20-Poly1305 authenticated symmetric encryption (NaCl secretbox).

Hybrid post-quantum signatures: ML-DSA (FIPS 204) + Ed25519 composite.

Verifiable Random Function — ECVRF-EDWARDS25519-SHA512-TAI (RFC 9381, suite 0x03).

Verifiable Random Function — ECVRF-P256-SHA256-TAI (RFC 9381, suite 0x01).

Mix Tasks

Generates a random 32-byte encryption key for use with MetamorphicCrypto.

Publishes metamorphic_crypto to Hex from your machine, in the correct order for a precompiled-NIF package.