Module tip5

Source

Structs§

Digest
The result of hashing a sequence of elements, for example using Tip5. Sometimes called a “hash”.
Tip5

Enums§

Tip5BFieldDecodingError

Constants§

CAPACITY
LOG2_STATE_SIZE
LOOKUP_TABLE
The lookup table with a high algebraic degree used in the TIP-5 permutation. To verify its correctness, see the test “lookup_table_is_correct.”
MDS_MATRIX_FIRST_COLUMN
The defining, first column of the (circulant) MDS matrix. Derived from the SHA-256 hash of the ASCII string “Tip5” by dividing the digest into 16-bit chunks.
NUM_ROUNDS
NUM_SPLIT_AND_LOOKUP
RATE
ROUND_CONSTANTS
The round constants used in the Tip5 permutation. To verify their correctness, see the test “round_constants_are_correct.”
STATE_SIZE