What are the prerequisites for a hash function to be classified as a secure cryptographic hash function?

What will be an ideal response?


While there is no formal definition on the differences between hash function and cryptographic hash function, the following properties are generally considered prerequisites for a hash function to be classified as a secure cryptographic hash function:
* Preimage resistant: Given H, it should be computationally infeasible to find m such that H = Hash (m).
* Second preimage resistant: Given an input m1, it should be computationally infeasible to find another input, m2 (not equal to m1) such that Hash (m1) = Hash (m2).
* Collision resistant: it should be computationally infeasible to find two different messages m1 and m2 such that Hash (m1) = Hash (m2). This usually means that the hash function must have a larger image than is required for preimage resistance.

Computer Science & Information Technology

You might also like to view...

Which of the following is not one of the six categories of ICT organizational failures identified by TechRepublic?        

A. Failure to satisfy intent B. Sponsor failure C. Communications failure D. Risk management failure

Computer Science & Information Technology

In this exercise, you will enhance the applica- tion. The advanced Circle Painter application should draw blue circles with a randomly generated diameter when the user presses the left mouse button. When the user presses the right mouse button, the application should draw a red circle with a randomly generated diameter (Fig. 21.33).



a) Copying the template to your working directory. Copy the C:Examples Tutorial21ExercisesAdvancedCirclePainter directory to your C:Simply- Java directory.
b) Opening the template file. Open the DrawJPanel.java file in your text editor.
c) Adding a Color instance variable. In line 17, add instance variable circleColor of type Color to hold the color of the circle to be painted.
d) Determining which button was pressed. Find the drawJPanelMousePressed method, which starts at line 60. In line 68 (before the method call repaint), add an if…else statement that sets circleColor to Color.RED if right mouse button is pressed and sets circleColor to Color.BLUE if left mouse button is pressed.
e) Drawing the appropriate color. Find the paintComponent method, which immedi- ately follows drawJPanelMousePressed. Replace the parameter passed to the set- Color method (Color.BLUE) with circleColor since the color of the drawn circle will change depending on the mouse button t

Computer Science & Information Technology

________ a measure of how two sets of data vary simultaneously

Fill in the blank(s) with correct word

Computer Science & Information Technology

A strictly black-and-white image has greater storage requirements than an image represented using a gray scale.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology