Korean Lightweight Secure Hash producing 256-bit digests. Developed by Korea Internet&Security Agency (KISA) as part of Korean cryptographic standards.
| Property | Value |
|---|---|
| Category | Hash Functions |
| Sub-category | Korean Hash |
| Security status | Not classified |
| Complexity | Advanced |
| Inventor | Korea Internet&Security Agency (KISA) |
| Year | 2014 |
| Origin | 🇰🇷 South Korea |
| Source | algorithms/hash/lsh.js |
| Parameter | Supported values |
|---|---|
| Hash sizes | 32 bytes (256 bits) |
Status: not classified — treat as unverified.
No vulnerabilities are recorded for this implementation.
4 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 — LSH-256: Empty (Crypto++)
| Field | Value |
|---|---|
input |
(empty) |
expected |
f3cd416a03818217726cb47f4e4d2881c9c29fd445c18b66fb19dea1a81007c1 |
Vector 2 — LSH-256: Single byte (Crypto++)
| Field | Value |
|---|---|
input |
ce |
expected |
862f86db654094840d86df7881732fd69b7227ee4f7943868162feb733a9ca5b |
Vector 3 — LSH-256: Two bytes (Crypto++)
| Field | Value |
|---|---|
input |
8b6c |
expected |
da96b21314cfd129fdbaa620dc3d0e2b5b3e087e90e6c147cc6b9950fde4b40e |
Vector 4 — LSH-256: Four bytes (Crypto++)
| Field | Value |
|---|---|
input |
a546a625 |
expected |
48da0960d72bab0f52f7f33f063f6b4fb9b6c73e15d08f865bb62e22fb7eaa8a |