tiivistefunktion
Tiivistefunktion is a Finnish term that translates to "compression function" in English. It is a fundamental component in the field of cryptography, particularly in the construction of hash functions. A compression function takes a fixed-size input block and an internal state, and produces a new internal state. This process is typically repeated iteratively for variable-length messages.
The core purpose of a compression function is to distill a potentially large amount of data into
One-way: It should be computationally infeasible to determine the input given the output.
Collision-resistant: It should be difficult to find two different inputs that produce the same output.
Pseudorandom: The output should appear random and unpredictable.
Common examples of cryptographic hash functions, such as SHA-256 and SHA-3, are built upon compression functions.