Initial simple hash implementation