hash convert to hex