Flesh out primitive hash impl