Falcon (FN-DSA family) Signature Demo
NewTry Falcon padded signatures online (FN-DSA family): generate keys, sign and verify in your browser, and compare compact sizes with ML-DSA and Ed25519.
Generate key pair
Makes a fresh Falcon-512 key pair (padded encoding): public key 897 B, secret key 1,281 B, signature 666 B.
Public key
Secret key
Demo secret. Keep it private and never use it for real data.
| Algorithm | Public key | Signature |
|---|---|---|
| Falcon-512 | 897 B | 666 B |
| Ed25519 | 32 B | 64 B |
| RSA-3072 | 384 B | 384 B |
Falcon-512: public key 897 B · secret key 1,281 B · signature 666 B. Security level: about AES-128.
How to read this demo
Falcon (FN-DSA family) offers smaller post-quantum signatures than ML-DSA or SLH-DSA, which helps tokens and constrained links. This demo uses the padded encoding from the reference library.
Confirm the exact FIPS FN-DSA byte layout before production. Browsers do not expose Falcon through Web Crypto yet. Do not use demo keys for real data.
Processed on your device — nothing is uploaded.
How to use Falcon / FN-DSA
- 1Pick Falcon-512 or Falcon-1024 (padded) and generate a key pair.
- 2Sign a short message and copy the signature as Hex or Base64.
- 3Verify, then change the message to confirm Invalid.
What this page covers
- Padded Falcon-512 and Falcon-1024 with fixed signature lengths
- Side-by-side size context versus ML-DSA and Ed25519
- Browser-only demo via an audited JavaScript library
- Useful when JWT- or packet-sized signatures matter
- Clear note that FIPS encoding details may still evolve
About Falcon / FN-DSA
Falcon is the compact lattice signature scheme NIST selected for standardisation as FN-DSA. Padded variants fix the signature length, which helps protocol designers. This demo runs Falcon-512 and Falcon-1024 padded modes locally so you can compare signature sizes with ML-DSA and classical Ed25519 before tracking the final FIPS text.
Common uses
- Check whether Falcon’s smaller signatures fit a token or packet budget that ML-DSA blows.
- Prototype verify paths for a library that already ships Falcon.
- Teach size trade-offs across the NIST PQC signature portfolio.
- Compare Falcon-512 with SLH-DSA when both compactness and conservatism are on the table.
Example
Input
Falcon-512
Result
Falcon-512: public key 897 B · secret key 1,281 B · signature 666 B
Good to know
- NIST is standardising Falcon as FN-DSA; encodings and names may tighten in the final FIPS. Treat this page as a size and behaviour demo, not a production compliance oracle.
- Only the padded variants are exposed here so signature lengths stay fixed and easy to check.
- Demo keys are not for real identity or code-signing. Keep secret keys off shared screens.
Falcon / FN-DSA FAQ
Is Falcon the same as FN-DSA?
FN-DSA is the NIST name for the Falcon-based signature standard. Implementations should follow the final FIPS text; this demo uses the padded Falcon parameter sets from an audited library for education.
Why are Falcon signatures smaller than ML-DSA?
Falcon uses a different lattice construction that yields shorter signatures at comparable security targets, at the cost of more complex implementation and floating-point considerations in some versions.
What does “padded” mean here?
Unpadded Falcon signatures can vary slightly in length. Padded modes expand them to a fixed size so protocols can budget a constant number of bytes.
Should I pick Falcon over ML-DSA?
Pick ML-DSA when you want the primary FIPS 204 workhorse with wider early support. Consider Falcon/FN-DSA when signature size is the binding constraint and your stack explicitly supports it.