Added MD5 and SHA1 support.