SwiftSPHINCS

3.4.0

SLH-DSA signature scheme in Swift
leif-ibsen/SwiftSPHINCS

What's New

Release 3.4.0

2025-04-05T17:13:59Z

About SwiftSPHINCS release 3.4.0:

The number of pre-hash functions has been enlarged to include
the SHA2-512/224 and SHA2-512/256 message digests.
The test suite has been extended accordingly.

The remaining API is unchanged from release 3.3.0

SwiftSPHINCS

SwiftSPHINCS is a Swift implementation of NIST FIPS 205: Stateless Hash-Based Digital Signature Standard, August 13, 2024.

SwiftSPHINCS functionality:

  • Support for the 12 parameter sets defined in the standard
  • Create public and secret keys
  • Sign messages - deterministically or randomized, pure or pre-hashed, with or without context.
  • Verify signatures, pure or pre-hashed, with or without context
  • Store keys in their PEM encoded ASN1 representation
  • Restore keys from their PEM encoded ASN1 representation

SwiftSPHINCS requires Swift 5.0. It also requires that the Int and UInt types be 64 bit types.

Its documentation is build with the DocC plugin and published on GitHub Pages at this location:

https://leif-ibsen.github.io/SwiftSPHINCS/documentation/swiftsphincs

The documentation is also available in the SwiftSPHINCS.doccarchive file.

The KAT test vectors come from NIST ACVP-server version 1.1.0.38 to comply with the final specification.

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

Last updated: Fri May 16 2025 00:53:28 GMT-0900 (Hawaii-Aleutian Daylight Time)