LSH
Korea's ARX-based hash family, standardised as KS X 3262 for fast software hashing
Overview
LSH is a hash function family developed in South Korea and standardised as KS X 3262. It was designed for high speed on general-purpose processors using only additions, rotations and XORs, and has two members: LSH-256 and LSH-512.
LSH is a wide-pipe Merkle–Damgård design. LSH-256 keeps a 512-bit chaining state of 32-bit words and processes 1024-bit blocks; LSH-512 doubles the word size to 64 bits. The compression function expands each block into step messages and runs 26 (LSH-256) or 28 (LSH-512) steps of an ARX mix-and-permute operation that lends itself to SIMD vectorisation.
Each member supports several output lengths by truncation. NextSSL includes LSH-256 and LSH-512 entries wired from source, not yet verified against KS X 3262 test vectors. LSH-256 supports outputs up to 256 bits, and LSH-512 supports outputs up to 512 bits including 224, 256 and 384-bit truncations. The family was published by the National Security Research Institute of Korea in 2014.
History
2014–2014LSH published
Security notes
No practical attacks on full LSH are known; published work covers reduced steps. It is suitable where Korean standards compliance is required but sees little use elsewhere.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| LSH512 lsh512 |
unverified | out 64 | — | root |
Frequently asked questions
Which LSH variants does NextSSL include?
NextSSL registers 1 LSH variant: lsh512.