Add support for MD5 and SHA1 types