Hash family

HAS-160

Korea's 160-bit hash designed for use with the KCDSA signature standard

legacy 1 variant TTAS.KO-12.0011/R1

Overview

HAS-160 is a 160-bit hash function standardised in South Korea for use with the KCDSA digital signature algorithm. It is structurally related to SHA-1 and has been superseded by SHA-2 and LSH in Korean standards.

HAS-160 is a Merkle–Damgård hash over 512-bit blocks with five 32-bit state words and 80 steps, resembling SHA-1. It differs in its message expansion, which inserts XOR combinations of message words rather than SHA-1's recursive schedule, and in its rotation amounts, which vary per step. Its 160-bit output matches SHA-1's.

The function was published by the Telecommunications Technology Association of Korea (TTAS.KO-12.0011). NextSSL's implementation follows the RHash library and is provided for legacy verification. HAS-160 saw use mainly in Korean PKI and government systems in the late 1990s and 2000s. Its design was not widely analysed internationally until relatively late, and modern Korean standards now favour SHA-2 and the LSH family.

History

2000–2000
  1. HAS-160 published

Security notes

Collision attacks on reduced-step versions have been published and the 160-bit output gives at most 80-bit collision resistance. It should be treated like SHA-1: acceptable only for verifying existing data.

Typical uses

Verifying legacy KCDSA signaturesKorean legacy system interoperability

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
HAS160
has160
legacy out 20 HAS-160 (KISA TTAS.KO-12.0011/R1), RHash implementation root

Frequently asked questions

Which HAS-160 variants does NextSSL include?

NextSSL registers 1 HAS-160 variant: has160.