SwiftDilithium

3.5.0

ML-DSA signature scheme in Swift
leif-ibsen/SwiftDilithium

What's New

Release 3.5.0

2025-04-05T09:36:35Z

About SwiftDilithium release 3.5.0:

  1. 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.

  2. The remaining API is unchanged from release 3.4.0

SwiftDilithium

SwiftDilithium is a Swift implementation of NIST FIPS 204: Module-Lattice-Based Digital Signature Standard, August 13, 2024.

SwiftDilithium functionality:

  • Support for the three Dilithium instances defined in the standard
  • Create public and secret keys
  • Sign messages - deterministically or randomized
  • Verify signatures
  • Store keys in their PEM encoded ASN1 representation
  • Restore keys from their PEM encoded ASN1 representation

SwiftDilithium 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/SwiftDilithium/documentation/swiftdilithium

The documentation is also available in the SwiftDilithium.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.10.0
View More Packages from this Author

Dependencies

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