|
digestpp 1.0
C++11 header-only message digest library
|
LSH Algorithms More...
Typedefs | |
| typedef hasher< detail::lsh_provider< uint32_t > > | digestpp::lsh256 |
| LSH256 hash function. | |
| typedef hasher< detail::lsh_provider< uint64_t > > | digestpp::lsh512 |
| LSH512 hash function. | |
| template<size_t N> | |
| using | digestpp::static_size::lsh256 = hasher<detail::lsh_provider<uint32_t, N>> |
| LSH256 hash function (static-size version) | |
| template<size_t N> | |
| using | digestpp::static_size::lsh512 = hasher<detail::lsh_provider<uint64_t, N>> |
| LSH512 hash function (static-size version) | |
LSH Algorithms
| typedef hasher<detail::lsh_provider<uint32_t> > digestpp::lsh256 |
LSH256 hash function.
LSH (Lightweight Secure Hash) function designed for high performance on general-purpose software environments including PCs and smart devices.
Designed by KISA (Korea Internet & Security Agency).
LSH uses a wide-pipe Merkle-Damgård structure. The compression function uses ARX (Addition, Rotation, XOR) operations for efficient software implementation.
LSH (Lightweight Secure Hash) is optimized for software implementation and designed as an alternative to SHA-2, with competitive performance and modern security properties.
Korean national standard: KS X 3262. Approved by Korean Cryptographic Module Validation Program (KCMVP). LSH256 is optimized for 32-bit platforms.
| std::runtime_error | if the requested digest size is not divisible by 8 (full bytes), or is not within the supported range |
| using digestpp::static_size::lsh256 = hasher<detail::lsh_provider<uint32_t, N>> |
LSH256 hash function (static-size version)
Variant of LSH256 with output size specified as template parameter.
| typedef hasher<detail::lsh_provider<uint64_t> > digestpp::lsh512 |
LSH512 hash function.
Lightweight Secure Hash function, 64-bit word variant. Designed by KISA (Korea Internet & Security Agency).
LSH-512 is optimized for 64-bit platforms and provides higher security levels than LSH-256, with support for up to 512-bit output.
Korean national standard: KS X 3262. Approved by Korean Cryptographic Module Validation Program (KCMVP). LSH512 is optimized for 64-bit platforms.
| std::runtime_error | if the requested digest size is not divisible by 8 (full bytes), or is not within the supported range |
| using digestpp::static_size::lsh512 = hasher<detail::lsh_provider<uint64_t, N>> |
LSH512 hash function (static-size version)
Variant of LSH512 with output size specified as template parameter.