K067 / Advanced and next-generation cryptography
Falcon
Falcon/FN-DSA is an NTRU lattice-based signature scheme using the GPV hash-and-sign structure.
CRYPTOGRAPHY LAB / K067
Cryptography Lab · Falcon
Run real computations and inspect intermediate states step by step.
Educational only. Never enter real passwords or secret keys. Computation stays in your browser; input and trace values are not sent to a server. Do not use this implementation in production.
Falcon NTRU ring equation (reduced degree; no key generation or signature)
See the scope above for fixed examples, reduced parameters and supported variants. Standard operation names and formulas are retained.Output
Previous state
- Definition and overview
- Falcon/FN-DSA is an NTRU lattice-based signature scheme using the GPV hash-and-sign structure. Source document ↗
- Classification and reversibility
- Signature algorithm, not encryption/hash/encoding; verification is not decryption/decoding. Source document ↗
- Key or secret requirements
- Public/private key required; public key described as matrix A and private key as short lattice basis B. Source document ↗
- Operating principle and structure
- GPV hash-and-sign implemented using NTRU lattices and FFT sampling. Source document ↗
- Key size, block size and parameters
- Signature header, 40-byte nonce and compressed s2; fixed lengths 666 or 1280 bytes. Source document ↗
- Security strength and recommendation
- Source describes FIPS 206 (FN-DSA) as in development, unpublished; recommends ML-DSA now and planning FN-DSA for small signatures. Source document ↗
- Known attacks and vulnerabilities
- Two bugs found during statistical analysis of implementation code, later fixed; not proof of algorithmic break. Source document ↗
- Standards and certification
- NIST assigned name FN-DSA and FIPS 206 number, unpublished as of cited document. Source document ↗
- Typical uses
- Considered for PQ applications requiring small signatures. Source document ↗
- Implementations, libraries and tools
- Rust falcon-rs and c-fn-dsa ports among implementations. Source document ↗
- Decryption or decoding
- Verify signature with public key and message; no decryption. Source document ↗
- Advantages
- FFT enables compact and efficient signing. Source document ↗
- Limitations and cautions
- Special implementation/standardization difficulties involving floating-point arithmetic. Source document ↗
- Distinguishing encryption, encoding and hashing
- FN-DSA is a signature, not encryption; public-key verification instead of decryption or decoding. Source document ↗
Practical examples
Example
Sign message privately; receiver verifies same message with public key. Falcon/FN-DSA is post-quantum hash-and-sign, not encryption/decryption.
Procedure
Generate pair, sign message/prehash, distribute signature and public key; verify publicly. No decryption stage, unlike encryption or encoding.
Scenario
Consider for constrained systems/blockchain verification requiring compact PQ signatures. Prefer standardized ML-DSA for now; assess FN-DSA maturity and FIPS 206 finalization in parallel.
Pitfalls and alternatives
Check padded/compressed format and version compatibility; do not deploy unfinalized FIPS 206 formats or experimental code directly. Use vetted signature library and final standard, not encryption API.
References
- draft-ietf-cose-falcon-05 ↗
- Lattice signatures: how ML-DSA and FN-DSA sign without leaking the key · SecSIG ↗
- FnDsaSignature in falcon::safe_api - Rust ↗
- FIPS 206 (FN-DSA) Status: Falcon Signatures and What to Expect in 2027 | QSECDEF ↗
- ACM CCS 2025 Spotlight: How Bad Was The Falcon Bug of 2019? - COSIC ↗
- RFC 9958: Post-Quantum Cryptography for Engineers ↗
- lattice-safe/falcon-rs ↗
- INSTRUCTIONS (16x9 aspect ratio) ↗