switch sha1 algorithm to crypt