Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_cipher_suite_fips205 Discord

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.

Metadata

Release files for swarmauri_cipher_suite_fips205 0.11.0.dev2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swarmauri_cipher_suite_fips205 0.11.0.dev2
File Size Uploaded
swarmauri_cipher_suite_fips205-0.11.0.dev2.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swarmauri_cipher_suite_fips205 0.11.0.dev2
File Interpreter ABI Platform
swarmauri_cipher_suite_fips205-0.11.0.dev2-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / swarmauri_cipher_suite_fips205-0.11.0.dev2.tar.gz

Download URL swarmauri_cipher_suite_fips205-0.11.0.dev2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ae35ecddc15d4a049dcaed9ed3779f3db6ce1b7fd5c32859138f0bd01a03247f
BLAKE2b-256 checksum
How to use checksums
4f002d3ac62840e6bd8c560850e6e9b92b46215babc3e999ceb90492f0ad7512
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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}

Release files / swarmauri_cipher_suite_fips205-0.11.0.dev2-py3-none-any.whl

Download URL swarmauri_cipher_suite_fips205-0.11.0.dev2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9d5400026d76835f68f6a7ee063b9fbdc75e8d7555b023b9fdb7d9c9b690292
BLAKE2b-256 checksum
How to use checksums
0b45555da18b8487f1f656616bbce02fc06b514dec342d0c2b911ab2ea10c872
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page