Korean cryptographic hash function standard producing 256-bit digests. Uses 512-bit internal processing with 28-step compression and 64-bit operations.
| Property | Value |
|---|---|
| Category | Hash Functions |
| Sub-category | LSH Family |
| Security status | Not classified |
| Complexity | Advanced |
| Inventor | Korea Internet&Security Agency (KISA) |
| Year | 2015 |
| 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-512-256: Empty (Crypto++)
| Field | Value |
|---|---|
input |
(empty) |
expected |
706df4ebf100f06d5cc9f6c79be5297c3f6f515801dd10fbc1b665a2d7bdb653 |
Vector 2 — LSH-512-256: Single byte (Crypto++)
| Field | Value |
|---|---|
input |
1a |
expected |
415382363239665872545914061d19df20e803c7446ed603df0b16142fbcc731 |
Vector 3 — LSH-512-256: Two bytes (Crypto++)
| Field | Value |
|---|---|
input |
efca |
expected |
2bf860b81103b1b85e117dfe1d436170f4b4dd32d5471cfc6a210ba305901e8e |
Vector 4 — LSH-512-256: Three bytes (Crypto++)
| Field | Value |
|---|---|
input |
082f78 |
expected |
4112d19e66e222f3ed565f6823583120424287b1d09276f69b61d4ebfbb72f91 |