KCDSA
KCDSA (Korean Certificate-based Digital Signature Algorithm) is a digital signature algorithm created by a team led by the Korea Internet & Security Agency (KISA).[src] It is an ElGamal variant, similar to the Digital Signature Algorithm and GOST R 34.10-94.[src] The standard algorithm is implemented over GF(p) , but an elliptic curve variant (EC-KCDSA) is also specified.[src] KCDSA requires a collision-resistant cryptographic hash function that can produce a variable-sized output (from 128 to 256 bits, in 32-bit increments).[src] HAS-160, another Korean standard, is the suggested choice.[src]
KCDSA (Korean Certificate-based Digital Signature Algorithm) is a digital signature algorithm created by a team led by the Korea Internet & Security Agency (KISA).[src] It is an ElGamal variant, similar to the Digital Signature Algorithm and GOST R 34.10-94.[src] The standard algorithm is implemented over GF(p) , but an elliptic curve variant (EC-KCDSA) is also specified.[src] KCDSA requires a collision-resistant cryptographic hash function that can produce a variable-sized output (from 128 to 256 bits, in 32-bit increments).[src] HAS-160, another Korean standard, is the suggested choice.[src] ==Domain parameters== p : a large prime such that |p| = 512 + 256i for i = 0, 1, \dots, 6 .[src] q : a prime factor of p-1 such that |q| = 128 + 32j for j = 0, 1, \dots, 4 .[src] g : a base element of order q in \operatorname{GF}(p) .[src] The revised version of the spec additional requires either that (p-1)/(2q) be prime or that all of its prime factors are greater than q .[src] ==User parameters== x : signer's private signature key such that 0 .[src] y : signer's public verification key computed by y=g^\bar{x} \pmod{p}, where \bar{x}=x^{-1} \pmod{q} .[src] z : a hash-value of Cert Data, i.e., z = h(\text{Cert Data}) .[src] The 1998 spec is unclear about the exact format of the "Cert Data".[src] In the revised spec, z is defined as being the bottom B bits of the public key y, where B is the block size of the hash function in bits (typically 512 or 1024).[src] The effect is that the first input block corresponds to y mod 2^B.[src] z : the lower B bits of y.[src] ==Hash Function== h : a collision resistant hash function with |q|-bit digests.[src] ==Signing== To sign a message m : Signer randomly picks an integer 0 and computes w = g^k \mod{p} Then computes the first part: r = h(w) Then computes the second part: s = x(k - r \oplus h(z \parallel m)) \pmod{q} If s=0 , the process must be repeated from the start.[src] The signature is (r, s) The specification is vague about how the integer w be reinterpreted as a byte string input to hash function.[src] In the example in section C.1 the interpretation is consistent with r = h(I2OSP(w, |q|/8)) using the definition of I2OSP from PKCS#1/RFC3447.[src] ==Verifying== To verify a signature (r, s) on a message m : Verifier checks that 0 \le r and 0 and rejects the signature as invalid if not.[src] Verifier computes e = r \oplus h(z \parallel m) Verifier checks if r = h(y^s \cdot g^e \mod{p}) .[src] If so then the signature is valid; otherwise it is not valid.[src] ==EC-KCDSA== EC-KCDSA is essentially the same algorithm using Elliptic-curve cryptography instead of discrete log cryptography.[src] The domain parameters are: An elliptic curve E over a finite field.[src] A point G in E generating a cyclic subgroup of prime order q .[src] ( q is often denoted n in other treatments of elliptic-curve cryptography.) The user parameters and algorithms are essentially the same as for discrete log KCDSA except that modular exponentiation is replaced by point multiplication.[src] The specific differences are: The public key is Y=\bar{x}G In signature generation, r=h(W_x || W_y) where W=kG In signature verification, the verifier tests whether r=h(sY+eG) ==External links== KCDSA specification and analysis[src]
33 sentences · 33 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"KCDSA." encyclopegia.org, 2025, https://encyclopegia.org/wiki/kcdsa. Accessed 29 November 2026.
Chicago
"KCDSA." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/kcdsa.
APA
encyclopegia.org. (2025). KCDSA. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/kcdsa
Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON