Hash and log