change sha1 and md5 command, use openssl tool