|
digestpp 1.0
C++11 header-only message digest library
|
Skein Algorithms More...
Skein Algorithms
| typedef hasher<detail::skein_provider<1024, false>, mixin::skein_mixin> digestpp::skein1024 |
Skein1024 hash function.
SHA-3 finalist based on the Threefish tweakable block cipher. Designed by Bruce Schneier, Niels Ferguson, Stefan Lucks, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon Callas, and Jesse Walker.
High-security variant of Skein using a 1024-bit internal state. Provides the highest security margin in the Skein family.
Skein1024 produces outputs that are independent from Skein256 and Skein512 even for the same output length. For example: skein512(256) ≠ skein1024(256)
Skein1024 is designed for applications requiring very high security levels or very long hash outputs (up to 1024 bits and beyond).
Use this variant when the required hash size is known in advance. For unknown output size (streaming output), use skein1024_xof.
| std::runtime_error | if the requested digest size is not divisible by 8 (full bytes) |
Optional parameters:
set_key() - Key of any length for MAC/PRF modeset_personalization() - Personalization string for domain separationset_nonce() - Nonce for randomizationSee mixin::skein_mixin for the description of optional parameters.
| using digestpp::static_size::skein1024 = hasher<detail::skein_provider<1024, false, N>, mixin::skein_mixin> |
Skein1024 hash function (static-size version)
Variant of Skein1024 with output size specified as template parameter.
Optional parameters:
set_key() - Key of any length for MAC/PRF modeset_personalization() - Personalization string for domain separationset_nonce() - Nonce for randomizationSee mixin::skein_mixin for the description of optional parameters.
| typedef hasher<detail::skein_provider<1024, true>, mixin::skein_mixin> digestpp::skein1024_xof |
Skein1024 in XOF mode.
Extendable Output Function (XOF) mode of Skein1024. Highest security variant with 1024-bit internal state.
In XOF mode, you can call squeeze() multiple times to generate arbitrary amounts of output. For fixed-length output known in advance, use skein1024.
Optional parameters:
set_key() - Key of any length for MAC/PRF modeset_personalization() - Personalization string for domain separationset_nonce() - Nonce for randomizationSee mixin::skein_mixin for the description of optional parameters.
| typedef hasher<detail::skein_provider<256, false>, mixin::skein_mixin> digestpp::skein256 |
Skein256 hash function.
SHA-3 finalist based on the Threefish tweakable block cipher. Designed by Bruce Schneier, Niels Ferguson, Stefan Lucks, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon Callas, and Jesse Walker.
Compact variant of Skein using a 256-bit internal state. Suitable for resource-constrained environments or when smaller state is preferred.
Skein256 produces outputs that are independent from Skein512 and Skein1024 even for the same output length. For example: skein256(256) ≠ skein512(256)
Use this variant when the required hash size is known in advance. For unknown output size (streaming output), use skein256_xof.
| std::runtime_error | if the requested digest size is not divisible by 8 (full bytes) |
Optional parameters:
set_key() - Key of any length for MAC/PRF modeset_personalization() - Personalization string for domain separationset_nonce() - Nonce for randomizationSee mixin::skein_mixin for the description of optional parameters.
| using digestpp::static_size::skein256 = hasher<detail::skein_provider<256, false, N>, mixin::skein_mixin> |
Skein256 hash function (static-size version)
Variant of Skein256 with output size specified as template parameter.
Optional parameters:
set_key() - Key of any length for MAC/PRF modeset_personalization() - Personalization string for domain separationset_nonce() - Nonce for randomizationSee mixin::skein_mixin for the description of optional parameters.
| typedef hasher<detail::skein_provider<256, true>, mixin::skein_mixin> digestpp::skein256_xof |
Skein256 in XOF mode.
Extendable Output Function (XOF) mode of Skein256. Compact variant with 256-bit internal state.
In XOF mode, you can call squeeze() multiple times to generate arbitrary amounts of output. For fixed-length output known in advance, use skein256.
Optional parameters:
set_key() - Key of any length for MAC/PRF modeset_personalization() - Personalization string for domain separationset_nonce() - Nonce for randomizationSee mixin::skein_mixin for the description of optional parameters.
| typedef hasher<detail::skein_provider<512, false>, mixin::skein_mixin> digestpp::skein512 |
Skein512 hash function.
SHA-3 finalist based on the Threefish tweakable block cipher. Designed by Bruce Schneier, Niels Ferguson, Stefan Lucks, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon Callas, and Jesse Walker.
Skein512 uses a 512-bit internal state and is the recommended variant for general-purpose use.
Skein512 produces outputs that are independent from Skein256 and Skein1024 even for the same output length. For example: skein256(256) ≠ skein512(256)
Use this variant when the required hash size is known in advance. For unknown output size (streaming output), use skein512_xof
| std::runtime_error | if the requested digest size is not divisible by 8 (full bytes) |
Optional parameters:
set_key() - Key of any length for MAC/PRF modeset_personalization() - Personalization string for domain separationset_nonce() - Nonce for randomizationSee mixin::skein_mixin for the description of optional parameters.
| using digestpp::static_size::skein512 = hasher<detail::skein_provider<512, false, N>, mixin::skein_mixin> |
Skein512 hash function (static-size version)
Variant of Skein512 with output size specified as template parameter.
Optional parameters:
set_key() - Key of any length for MAC/PRF modeset_personalization() - Personalization string for domain separationset_nonce() - Nonce for randomizationSee mixin::skein_mixin for the description of optional parameters.
| typedef hasher<detail::skein_provider<512, true>, mixin::skein_mixin> digestpp::skein512_xof |
Skein512 in XOF mode.
Extendable Output Function (XOF) mode of Skein512. Use when the required output length is not known in advance or when streaming output is needed.
In XOF mode, you can call squeeze() multiple times to generate arbitrary amounts of output. For fixed-length output known in advance, use skein512.
Optional parameters:
set_key() - Key of any length for MAC/PRF modeset_personalization() - Personalization string for domain separationset_nonce() - Nonce for randomizationSee mixin::skein_mixin for the description of optional parameters.