|
digestpp 1.0
C++11 header-only message digest library
|
SHAKE Algorithms More...
Typedefs | |
| typedef hasher< detail::shake_provider< 128, 24 > > | digestpp::shake128 |
| SHAKE128 extendable output function. | |
| typedef hasher< detail::shake_provider< 256, 24 > > | digestpp::shake256 |
| SHAKE256 extendable output function. | |
| typedef hasher< detail::shake_provider< 128, 24 >, mixin::cshake_mixin > | digestpp::cshake128 |
| cSHAKE128 customizable extendable output function | |
| typedef hasher< detail::shake_provider< 256, 24 >, mixin::cshake_mixin > | digestpp::cshake256 |
| cSHAKE256 customizable extendable output function | |
SHAKE Algorithms
| typedef hasher<detail::shake_provider<128, 24>, mixin::cshake_mixin> digestpp::cshake128 |
cSHAKE128 customizable extendable output function
Customizable variant of SHAKE128 with support for function name and customization string.
Specified in NIST SP 800-185.
cSHAKE provides domain separation through customization parameters, allowing the same underlying function to be safely used for different purposes.
When used without customization, cSHAKE128 produces the same output as SHAKE128. Function name is reserved for NIST-defined functions; use empty string for custom applications. Customization string provides domain separation for different use cases.
Optional parameters:
set_function_name() - NIST function name (usually empty for custom use)set_customization() - Customization string for domain separationSee mixin::cshake_mixin for the description of optional parameters.
| typedef hasher<detail::shake_provider<256, 24>, mixin::cshake_mixin> digestpp::cshake256 |
cSHAKE256 customizable extendable output function
Customizable variant of SHAKE256 with support for function name and customization string.
Specified in NIST SP 800-185.
Higher security variant of cSHAKE128, providing 256-bit security level.
When used without customization, cSHAKE256 produces the same output as SHAKE256. Function name is reserved for NIST-defined functions; use empty string for custom applications. Customization string provides domain separation for different use cases.
Optional parameters:
set_function_name() - NIST function name (usually empty for custom use)set_customization() - Customization string for domain separationSee mixin::cshake_mixin for the description of optional parameters.
| typedef hasher<detail::shake_provider<128, 24> > digestpp::shake128 |
SHAKE128 extendable output function.
Extendable Output Function (XOF) based on SHA-3/Keccak. Part of the SHA-3 standard (FIPS 202).
SHAKE128 provides 128-bit security and can generate arbitrary-length output. Unlike fixed-length hash functions, SHAKE can produce outputs of any length, and can be called multiple times to generate additional output.
Specified in FIPS 202.
SHAKE128 provides security equivalent to SHA3-256 (128-bit collision resistance). For customizable variant with domain separation, see cshake128.
| typedef hasher<detail::shake_provider<256, 24> > digestpp::shake256 |
SHAKE256 extendable output function.
Extendable Output Function (XOF) based on SHA-3/Keccak. Part of the SHA-3 standard (FIPS 202).
SHAKE256 provides 256-bit security and can generate arbitrary-length output. Recommended over SHAKE128 for applications requiring higher security.
Specified in FIPS 202.
SHAKE256 provides security equivalent to SHA3-512 (256-bit collision resistance). For customizable variant with domain separation, see cshake256.