Korean cryptographic hash function standard producing 512-bit digests. Designed by KISA with 28-step compression function 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 | 64 bytes (512 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: Empty (Crypto++)
| Field | Value |
|---|---|
input |
(empty) |
expected |
118a2ff2a99e3b2134125e2baf20ebe3 bdd034d5a69b29c22fc4995063340b46 697801d7f7fb0070568f78e8ed514215 fc70af27d6f27b01aa8a1da72b14ce7c |
Vector 2 — LSH-512: Single byte (Crypto++)
| Field | Value |
|---|---|
input |
41 |
expected |
32e896b21bec19c15254f7a1f089f748 e05918a68e6d829fb1a62b7d5822ad98 b7de274f7dc6c73e6f52c5f0b7633666 dbe6048661351d811105ee015b9dcac9 |
Vector 3 — LSH-512: Two bytes (Crypto++)
| Field | Value |
|---|---|
input |
3c57 |
expected |
e86ac1ef43519446927c26d907fa5a3a 64b3f4b1888ef10ffc6b687ec73ac5bf d9db4ad7427011d35243adc98d2c2b1b 58a28bd22179668b43a2816d07c65963 |
Vector 4 — LSH-512: Three bytes (Crypto++)
| Field | Value |
|---|---|
input |
abfcde |
expected |
732442e8c76252c6d6fc950ccd7fd6d5 a8a8114be245a3076c3f6732b8029447 8b136bc52fe8db4e01766711a71aa691 79361804c2791c77ec2383c1be480501 |