Skip to content

Evaluation build. Not independently reviewed. Do not use it to protect real secrets.

PQCSmith

Developers

The exact profile, formats and evidence behind the tools, so you can check or reproduce them.

Profile

Exchange formats

Every key, ciphertext and signature is the raw byte string from the standard, in one of four encodings:

Inputs are strict: whitespace is allowed only before and after the value, non-canonical Base64 is rejected, and the decoded length must match the selected parameter set and role exactly. Untagged inputs carry no metadata, so you always choose the algorithm and role.

Private keys export as the seed by default (64 bytes, d ‖ z, for ML-KEM; 32 bytes, ξ, for ML-DSA) or as the FIPS expanded key. Downloads are named like ml-dsa-65.public-key.b64 and labelled with algorithm, role and encoding. SPKI, PKCS#8, PEM and JWK are not supported yet.

Test evidence

Reproduce with OpenSSL 3.5

Derive the same key pair from a seed exported by PQCSmith, given as hex:

openssl genpkey -algorithm ML-DSA-65 -pkeyopt hexseed:<seed-hex> -out key.pem
openssl pkey -in key.pem -text -noout

The pub: bytes match PQCSmith's public key. Sign a file with that key in OpenSSL and verify the signature in PQCSmith's Verify tool, or the other way round:

openssl pkeyutl -sign -rawin -inkey key.pem -in message.bin -out message.sig
openssl pkey -in key.pem -pubout -out pub.pem
openssl pkeyutl -verify -rawin -pubin -inkey pub.pem -in message.bin -sigfile message.sig

For ML-KEM, use the 64-byte seed with the same genpkey option and pkeyutl -encap or -decap.