FIPS 203 ML-KEM cipher suite bindings for Swarmauri
Project description
Swarmauri Cipher Suite FIPS 203
Cipher suite bindings for the post-quantum ML-KEM key encapsulation mechanisms standardised in NIST FIPS 203.
Features
- Enumerates the ML-KEM-512, ML-KEM-768, and ML-KEM-1024 parameter sets
- Describes NIST security level metadata for downstream policy enforcement
- Normalises wrap / unwrap requests with provider-oriented descriptors
- Ships entry-point metadata for seamless Swarmauri component discovery
Installation
pip
pip install swarmauri_cipher_suite_fips203
Poetry
poetry add swarmauri_cipher_suite_fips203
uv
To add the dependency to a pyproject.toml managed by uv:
uv add swarmauri_cipher_suite_fips203
Or install it into the active environment:
uv pip install swarmauri_cipher_suite_fips203
Usage
from swarmauri_cipher_suite_fips203 import Fips203CipherSuite
suite = Fips203CipherSuite(name="mlkem")
# Describe a ML-KEM-768 key encapsulation request
descriptor = suite.normalize(op="wrap", alg="ML-KEM-768")
print(descriptor["constraints"]["nistLevel"]) # -> 3
print(descriptor["mapped"]["provider"]) # -> ml-kem:ML-KEM-768
The suite raises ValueError if a non-ML-KEM algorithm is requested, allowing
callers to surface the policy violation immediately.
Entry Point
The suite registers under the swarmauri.cipher_suites entry point as
Fips203CipherSuite.
Want to help?
If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_cipher_suite_fips203-0.1.0.dev17.tar.gz.
File metadata
- Download URL: swarmauri_cipher_suite_fips203-0.1.0.dev17.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d99f633c61dcae0292732c91bced177bc9006102a00756f7a73d1f8d6a5ef4a1
|
|
| MD5 |
c0e1c150f53a33f66622b0d569214f0c
|
|
| BLAKE2b-256 |
f67d9c689c62e6429df48ffb0ccc2c2c0f28bddb1c2f389711d903c7cb5f1d82
|
File details
Details for the file swarmauri_cipher_suite_fips203-0.1.0.dev17-py3-none-any.whl.
File metadata
- Download URL: swarmauri_cipher_suite_fips203-0.1.0.dev17-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca4b3ef7bc624df77bf1b6d713f75195d7910e2775e00eb33767b328d440da44
|
|
| MD5 |
71308610cd9737b86eb15d77d2e2815d
|
|
| BLAKE2b-256 |
b10fb57d922834e8b21b6d3363b66f85a78e3dcc596d28e357eacd2f8a6ee19b
|