Hello! could someone help me with this problem? Thank you! :-) Programming language: PYTHON Use the same block cipher de
Posted: Thu May 05, 2022 1:31 pm
Hello! could someone help me with this problem? Thank you!

Programming language: PYTHON
Use the same block cipher described above with the
MatyasMeyer-Oseas construction to construct a hash
function; you can use a vector of all 1’s for the first round key
h0. What is the output size of this hash function? How many hashes
would an attacker have to compute in order to find a pair of inputs
with the same hash (in other words, what would the complexity of
the so-called birthday attack be)? Hash the plaintext in gold
plaintext.in using the resulting hash function.
Block cipher code:
Programming language: PYTHON
Use the same block cipher described above with the
MatyasMeyer-Oseas construction to construct a hash
function; you can use a vector of all 1’s for the first round key
h0. What is the output size of this hash function? How many hashes
would an attacker have to compute in order to find a pair of inputs
with the same hash (in other words, what would the complexity of
the so-called birthday attack be)? Hash the plaintext in gold
plaintext.in using the resulting hash function.
Block cipher code: