CoderTools

HAS-160 Hash Generator

Generate HAS-160 hashes, Korean cryptographic standard for KCDSA digital signatures

Input will be encoded as UTF-8 text

About HAS-160 Hash

HAS-160 (Hash Algorithm Standard 160) is a cryptographic hash function designed by the Korean Information Security Agency (KISA) in 2000. It produces a 160-bit (20-byte) hash value and was developed as part of Korea's national cryptographic standard.

HAS-160 is structurally similar to SHA-1 but includes modifications to improve security against differential cryptanalysis. It is primarily used in Korean government and financial systems, particularly as the hash function for KCDSA (Korean Certificate-based Digital Signature Algorithm).

Technical Specifications

Property Value
Output Size 160 bits (20 bytes)
Block Size 512 bits (64 bytes)
Rounds 80
Standard TTAS.KO-12.0011/R1

Common Usage

Example Hash

Input: "hello"

HAS-160: 5b652a0afa4fbca58c52603a3f04ccc7939844ab

Security Notice

While HAS-160 was designed to improve upon SHA-1, it shares similar structural properties. For new applications requiring high security, consider using SHA-256 or SHA-3. HAS-160 remains suitable for legacy system compatibility and specific Korean regulatory requirements.

References