Deutsche Telekom interview question

Can you write your own hashfunction.