Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. (a) (b) : Let h1 {0,1} {0, 1} and h2 {0,1} {0,1} be hash functions with output length of n bits. Construct a
1. (a) (b) : Let h1 {0,1} {0, 1}" and h2 {0,1} {0,1}" be hash functions with output length of n bits. Construct a hash function h {0, 1}* {0, 1}2n by concatenating the outputs of h and h, that is, h(x) = h(x)||h2(x) where || is string concatenation. Suppose h is collision resistant but h is not. Can we say that his collision resistant? Explain/Prove your claim. Let m and n be positive integers such that m>n. Let A be an n x m matrix, i.e., n rows and m columns, over the binary field F2. Define a hash function h: {0,1}{0, 1}" by h(x) = Ax. Here, Ar is the matrix-vector product, the input binary string r is considered as a binary vector of length m. The output of the hash is a binary vector of length n. Note that all operations are done mod 2. Is h preimage resistant? Is it collision resistant? Explain.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started