Python Create Hash From String Import