Hash function extensions