handle sha-1