Add support for various hashing methods (md5, sha1, sha256, sha512)