replaced sha1 by crypt