DSA
The finite-field Digital Signature Algorithm from earlier editions of the Digital Signature Standard. FIPS 186-5 no longer specifies it and allows it only to verify signatures made earlier, so it now appears mainly in legacy SSH and OpenPGP keys.
In short
What a quantum computer changes.
- Quantum effect
- Broken by Shor's algorithm
- Family
- Classical public keyRests on finite-field discrete logarithm.
- What it means
- Shor's algorithm, run on a large, fault-tolerant quantum computer, factors large numbers and solves discrete logarithms, including those on elliptic curves, far faster than any known classical method. The security of this algorithm rests on finite-field discrete logarithm, which is one of those problems. Anyone with such a machine could work out a private key from the matching public key. Signatures could then be forged, and data protected by a key exchange built on this algorithm could be decrypted, including traffic recorded now and kept for later. Longer keys do not fix this. The usual answer is to plan a move to a post-quantum or hybrid scheme.
This describes the family, not any project that uses it.
9 in the catalogue
Packages that provide it
| Package | Provides |
|---|---|
| jsrsasignnpm | Pure JavaScript library for RSA, RSA-PSS, ECDSA and DSA signatures, hashes and HMAC, PKCS key formats, X.509 certificates, CRL, OCSP, CMS and JWS/JWT. |
| browserify-signnpm | Node-style createSign and createVerify for browsers, covering RSA PKCS#1 v1.5, DSA and ECDSA on secp256k1 and the NIST P curves. |
| openpgpnpm | OpenPGP.js, a JavaScript implementation of OpenPGP (RFC 9580): RSA, DSA, ECDSA and ECDH on NIST, brainpool and secp256k1 curves, Ed25519, Ed448, X25519 and X448, AES with GCM, OCB and EAX, and Argon2 key derivation. |
| ssh2npm | SSH2 client and server in JavaScript for Node.js, with Curve25519, ECDH and finite-field Diffie-Hellman key exchange, Ed25519, ECDSA, RSA and DSA host keys, AES-GCM, AES-CTR, AES-CBC and ChaCha20-Poly1305 ciphers, and HMAC. |
| sshpknpm | Parses, converts and uses SSH keys and certificates of type RSA, DSA, ECDSA (nistp256, nistp384, nistp521) and Ed25519, with signing, verification and Diffie-Hellman helpers. |
| opensslcrates.io | Rust bindings to OpenSSL covering TLS, X.509, RSA, DSA, Diffie-Hellman, elliptic curve and Edwards curve keys, symmetric ciphers, hashes, MACs and key derivation. |
| openssl-syscrates.io | Raw FFI declarations for the OpenSSL C library, used by the openssl crate. |
| boringcrates.io | Rust bindings to BoringSSL with TLS support, RSA, DSA, Diffie-Hellman, ECDSA and ECDH, Ed25519 and X25519, ML-KEM, ML-DSA, HPKE, AEAD ciphers, hashes, HMAC and key derivation. |
| sequoia-openpgpcrates.io | OpenPGP (RFC 9580 and RFC 4880) implementation with RSA, DSA, ECDSA, ECDH, EdDSA, X25519 and X448 keys, post-quantum ML-KEM, ML-DSA and SLH-DSA algorithms, AES and SHA-1, SHA-2 and SHA-3 hashes. |
1 listed
Sources
- FIPS 186-5: Digital Signature Standard (DSS), full textnvlpubs.nist.govRetrieved 3 December 2026
Full record
- Identifier
- dsa
- Kind
- signature
- Family
- Classical public key
- Rests on
- finite-field discrete logarithm
- Quantum effect
- Broken by Shor's algorithm
Standards
No standard is listed for this algorithm.