Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Security

ML-KEM / Kyber Keypair & Encapsulation Tester

· Last updated:2026-08-24

Generate ML-KEM-512/768/1024 (FIPS 203 / CRYSTALS-Kyber) keypairs, encapsulate a random shared secret against the public key, decapsulate it with the private key, and verify both sides match — with the exact wire sizes of all three parameter sets checked live against the standard.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Security
Input types
select, text, checkbox
Output type
html
Sample coverage
4
API ready
Yes

Overview

The ML-KEM / Kyber Keypair & Encapsulation Tester allows you to generate FIPS 203 (CRYSTALS-Kyber) post-quantum keypairs, run encapsulation and decapsulation operations, and inspect raw cryptographic artifacts. You can test ML-KEM-512, ML-KEM-768, and ML-KEM-1024 individually or side by side, verify shared secret agreement, and validate exact wire sizes across hexadecimal and Base64 formats.

When to use

  • Validating post-quantum key generation, encapsulation, and decapsulation workflows against the FIPS 203 specification.
  • Checking exact wire payload byte lengths for encapsulation keys, decapsulation keys, and ciphertexts when budgeting protocol network overhead.
  • Generating reproducible, deterministic test vectors using fixed hex seeds to perform cross-library interop testing.

How it works

  1. 1Select your target ML-KEM parameter set (512, 768, 1024, or all three) and choose the desired encoding format (Hex, Base64, or both).
  2. 2Optionally supply a deterministic hex seed for reproducible test vectors and toggle the option to reveal the private decapsulation key.
  3. 3The tool performs keypair generation, encapsulates a shared secret against the public key, and decapsulates the resulting ciphertext.
  4. 4Inspect the verification verdict confirming shared secret equality alongside a detailed breakdown of byte sizes and encoded cryptographic material.

Use cases

  • Evaluating packet overhead and payload constraints for post-quantum TLS, SSH, or custom VPN handshakes.
  • Generating test vectors to debug and verify custom ML-KEM and Kyber cryptographic implementations.
  • Comparing parameter sizes and shared secret agreements across ML-KEM-512, 768, and 1024 security levels.

Examples

1. Deterministic ML-KEM-768 Round Trip

Security Engineer

Background

An engineer is integrating ML-KEM-768 into an internal communication protocol and needs reproducible byte sequences to verify local decapsulation code against standard output.

Problem

Generate predictable public keys, ciphertexts, and shared secrets using a known seed.

How to use

Select ML-KEM-768, pick Hex output format, enter a valid hex seed into the deterministic seed field, and run the test.

Parameter set: ML-KEM-768
Output format: Hexadecimal
Deterministic seed: 6c8f5a3fbf21d94e77a0c2e15b9d84f3a6d1c0048e2f97b5d3a1f6c8e0b4297d
Reveal decapsulation key: false

Outcome

Generates byte-stable public keys, a 1088-byte ciphertext, and a 32-byte shared secret confirming successful round-trip verification.

2. Wire Size Comparison Across All Parameter Sets

Network Protocol Architect

Background

An architect is evaluating header buffer sizes for post-quantum handshake packets across various security categories.

Problem

Simultaneously inspect the exact wire lengths of keys and ciphertexts across ML-KEM-512, 768, and 1024.

FAQ

What is the difference between ML-KEM and CRYSTALS-Kyber?

ML-KEM is the standardized post-quantum key encapsulation mechanism defined in NIST FIPS 203, based directly on the CRYSTALS-Kyber algorithm.

Which ML-KEM parameter set is recommended for general use?

ML-KEM-768 is the recommended default, providing a balance of high security (NIST Security Category 3) and efficient key and ciphertext sizes.

What are the exact wire sizes for ML-KEM-768?

ML-KEM-768 uses an encapsulation key of 1,184 bytes, a decapsulation key of 2,400 bytes, a ciphertext of 1,088 bytes, and a shared secret of 32 bytes.

How does deterministic mode work?

Providing a valid hex seed forces the internal random number generator to derive keypairs and encapsulation randomness deterministically, ensuring reproducible outputs.

Why is the decapsulation key hidden by default?

The decapsulation key is sensitive private key material, so it is masked by default and only displayed when the reveal option is checked.

Home
Tools3212
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Kotlin

Android Image Processing Kotlin Samples

Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

Rust

Web Image Processing Rust Samples

Web Rust image processing examples including image read/save, scaling, and format conversion

Security

Env File Secret Rotation Planner

Paste a .env file and get a staged secret-rotation plan. Detects database URLs, API keys, auth tokens, private keys, cloud credentials, payment keys and encryption secrets, scores each by exposure and age, and schedules them across a 4-week rotation timeline with a dual-key checklist and a generated .env.example. Optional last-rotated dates and a configurable cadence (30/90/180/365 days) drive compliance scoring.

Security

Security Headers Checker

Audit HTTP response headers for security compliance — parses the raw headers you paste (no network) and grades them against the OWASP secure-header set with value-level checks: HSTS max-age, CSP unsafe-inline/eval, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP/COEP/CORP and more. Outputs a letter grade (A+ to F) plus per-header findings with copy-ready fix recommendations.

Security

PKCE Code Verifier & Challenge Generator

Generate, validate and verify OAuth2 / OIDC PKCE (RFC 7636) code_verifier and S256 code_challenge pairs. Three modes: (1) generate a fresh verifier + challenge from cryptographically secure random bytes at 256/384/512/768-bit entropy, (2) audit a verifier you already have against the RFC — length (43–128), charset [A-Za-z0-9-._~] and ≥256-bit entropy, and (3) verify a verifier/challenge pair by recomputing BASE64URL(SHA256(verifier)). Optionally build the full authorization-request URL and token-exchange body. Complements the generic nonce-generator (which only emits a verifier+challenge pair) with RFC-compliance auditing and pair verification.

Security

Crypto Incident Exposure Checker

Review public BTC / Ethereum incident evidence, source coverage and token blacklist signals without connecting a wallet.

How to use

Select 'All three parameter sets' from the parameter set dropdown, select Hex + Base64, and execute the run.

Parameter set: All three parameter sets
Output format: Hex + Base64
Deterministic seed: (empty)
Reveal decapsulation key: false

Outcome

Displays side-by-side round-trip test cards and a FIPS 203 size table verifying wire sizes for 512 (800/768 B), 768 (1184/1088 B), and 1024 (1568/1568 B).