change default hash alg to sha1