KeccakParameter

Parameter sets for SHA-3(Keccak).

This class contains the defined parameter values for each set of SHA-3 Hash Functions defined in FIPS 202 and SHA-3 Derived Functions defined in SP 800-185.

Author

Ron Lauren Hombre

Entries

Link copied to clipboard

Keccak448(M||01, 224)

Link copied to clipboard

Keccak512(M||01, 256)

Link copied to clipboard

Keccak768(M||01, 384)

Link copied to clipboard

Keccak1024(M||01, 512)

Link copied to clipboard

Keccak256(M||11, d)

Link copied to clipboard

Keccak512(M||11, d)

Link copied to clipboard

Keccak256(M||1111, d) = RawSHAKE128(M||11, d)

Link copied to clipboard

Keccak512(M||1111, d) = RawSHAKE256(M||11, d)

Link copied to clipboard

SHAKE128 equivalent if N and S is empty "".

Link copied to clipboard

SHAKE256 equivalent if N and S is empty "".

Link copied to clipboard

newX = bytepad(encode_string(K), 136) || X || right_encode(L); T = bytepad(encode_string("KMAC") || encode_string(S), 136); Keccak256(T || newX || 00, L)

Link copied to clipboard

newX = bytepad(encode_string(K), 168) || X || right_encode(L); T = bytepad(encode_string("KMAC") || encode_string(S), 168); Keccak512(T || newX || 00, L)

Link copied to clipboard

newX = bytepad(encode_string(K), 136) || X || right_encode(0); T = bytepad(encode_string("KMAC") || encode_string(S), 136); Keccak256(T || newX || 00, L)

Link copied to clipboard

newX = bytepad(encode_string(K), 168) || X || right_encode(0); T = bytepad(encode_string("KMAC") || encode_string(S), 168); Keccak512(T || newX || 00, L)

Properties

Link copied to clipboard
Link copied to clipboard

The byte rate of the Hash Function.

Link copied to clipboard
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.