stop holding md5, sha1 as static variables