Hash utilities