Lukka Interview Question

how to implement a hash function