Hash entire input.