Skip to content

Experiment 10:

Question:

  • Write a program to implement the following Hash Functions: I. Division Method. II. Multiplication Method. III. Mid-square Method. IV. Folding Method.

I. Division Method:

Program:

c

Output:

md

II. Multiplication Method:

Program:

c

Output:

md

III. Mid-square Method:

Program:

c

Output:

md

IV. Folding Method:

Program:

c

Output:

md

Released under the MIT License.