← Cryptography guide

K047 / Asymmetric encryption, signatures and key exchange

KCDSA

KCDSA EC-KCDSA Korean digital signature · Survey date 2026-12-05

KCDSA is a certificate-based signature algorithm developed by KISA, a variant of ElGamal; EC-KCDSA is its elliptic-curve version.

CRYPTOGRAPHY LAB / K047

Cryptography Lab · KCDSA

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.

Scope: Toy educational example

KCDSA signature equation (toy p=23,q=11; SHA256 and prehashed integer, not standard KCDSA)

See the scope above for fixed examples, reduced parameters and supported variants. Standard operation names and formulas are retained.

Open lab →

Definition and overview
KCDSA is a certificate-based signature algorithm developed by KISA, a variant of ElGamal; EC-KCDSA is its elliptic-curve version. Source document ↗
Classification and reversibility
Signature/verification algorithm, not message encryption/decryption. Source document ↗
Key or secret requirements
Requires private/public key pair; signer uses private key. Source document ↗
Operating principle and structure
ElGamal variant based on discrete logarithm problem. Source document ↗
Key size, block size and parameters
Uses GF(p), large prime p and prime factor q of p−1 as domain parameters. Source document ↗
Security strength and recommendation
2011 guidance deemed 1024-bit RSA/KCDSA unsafe and recommended upgrading 160-bit ECC to at least 224 bits. Source document ↗
Known attacks and vulnerabilities
Old keys and HAS-160 weaken security; recommend SHA-224 or stronger. Source document ↗
Standards and certification
KCDSA/EC-KCDSA standardized in TTAK.KO-12.0001/R4 and TTAK.KO-12.0015/R3. Source document ↗
Typical uses
Adopted for Korean national digital certification infrastructure and signature/PKI. Source document ↗
Implementations, libraries and tools
KISA distributes C/C++ and Java reference source for KCDSA/EC-KCDSA. Source document ↗
Decryption or decoding
Verify digital signature publicly, not decrypt/decode. Source document ↗
Advantages
EC-KCDSA achieves similar security with shorter keys than traditional public-key methods. Source document ↗
Limitations and cautions
Old keys/hashes reduce safety; increase order, key, hash and signature lengths. Source document ↗
Distinguishing encryption, encoding and hashing
KCDSA is a signature scheme using a hash internally, not encryption/encoding. Source document ↗

Practical examples

Examples are illustrative; they are not execution-tested implementations or operational recommendations.

Example

Hash message and sign with private key; verifier validates using same message/signature/public key. KCDSA/EC-KCDSA signs and verifies, not ciphertext creation. No real secret values in examples.

Procedure

Prepare standard domain parameters and key pair, hash message, sign privately, verify publicly. Distinguish from encryption/decryption and encoding/decoding; verification is not decryption.

Scenario

Korean administrative signatures/PKI for document or certificate signing and verification; EC-KCDSA offers short-key benefits in constrained devices.

Pitfalls and alternatives

Do not confuse KCDSA with encryption/hash; avoid old key sizes, HAS-160 and custom implementations. Use current recommended parameters/hashes, vetted libraries and separated key management.

References