Question: Create a very simple hash function and implement it in Python (or Java). The hash function should be able to accept input of different sizes

Create a very simple hash function and implement it in Python (or Java). The hash function should be able to accept input of different sizes and produce a hash value that is 8 bits. b) Implement statistical tests of your hash function to test if it seems to be a good hash function. You should at least run tests for Uniformity and that small changes in input still give very different hash values. Consider using matplotlib to make it easy to analyse the result.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!