Sabre Interview Question

Build a simple hashing algorithm