Create Hash From String Python