FIPS 205 SLH-DSA cipher suite bindings for Swarmauri
Project description
Swarmauri Cipher Suite FIPS 205
SLH-DSA (SPHINCS+) signature suite aligned with NIST FIPS 205.
Features
- Exposes all SHA2 and SHAKE based SLH-DSA parameter sets from the standard
- Provides security level metadata for downstream admission control
- Supplies provider-oriented descriptors for Swarmauri signing flows
- Publishes an entry point for automatic suite discovery and registration
Installation
pip
pip install swarmauri_cipher_suite_fips205
Poetry
poetry add swarmauri_cipher_suite_fips205
uv
To add the dependency to a pyproject.toml managed by uv:
uv add swarmauri_cipher_suite_fips205
Or install it into the active environment:
uv pip install swarmauri_cipher_suite_fips205
Usage
from swarmauri_cipher_suite_fips205 import Fips205CipherSuite
suite = Fips205CipherSuite(name="slhdsa")
# Normalise a SLH-DSA-SHAKE-192s signing request
descriptor = suite.normalize(op="sign", alg="SLH-DSA-SHAKE-192s")
print(descriptor["constraints"]["nistLevel"]) # -> 3
print(descriptor["mapped"]["provider"]) # -> slh-dsa:SLH-DSA-SHAKE-192s
Requests for non-SLH-DSA algorithms raise ValueError, surfacing the policy
violation early.
Entry Point
The suite registers under the swarmauri.cipher_suites entry point as
Fips205CipherSuite.
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_fips205-0.1.0.dev30.tar.gz.
File metadata
- Download URL: swarmauri_cipher_suite_fips205-0.1.0.dev30.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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 |
ea95ed460b40b791d2a1a458ac27aa25b99eba4c50d827942ab6dc493ad75904
|
|
| MD5 |
2176ae9afdf82b80ae61ed565149494a
|
|
| BLAKE2b-256 |
73f29a619e19f9558d03875face2c53c5f52ae46393d5f179b8845257448d236
|
File details
Details for the file swarmauri_cipher_suite_fips205-0.1.0.dev30-py3-none-any.whl.
File metadata
- Download URL: swarmauri_cipher_suite_fips205-0.1.0.dev30-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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 |
1446bc19c8a869ad4f651c751a90d55bd0f4b56af951831a61b26c09456a9512
|
|
| MD5 |
1df5dcb0442b3e1333be7ce38bbd077d
|
|
| BLAKE2b-256 |
abf85d8f28a7212a7114fb6a82d6c408824736bc04449799f346c4db6b79b1f9
|