def test_ldap_sha1_md5hashing(self): """Test LDAP SHA1 hash with md5hashing.""" hash = str(base64.b64decode(ldap_sha1[5:])).replace("b'", "").replace( "\\n'", "") res = scraper.md5hashing(self.browser, hash, 'sha1') assert res
def test_md5_md5hashing(self): """Test MDA5 hash with md5hashing.""" res = scraper.md5hashing(self.browser, md5, 'md5') assert res
def test_gost_md5hashing(self): """Test GOST hash with md5hashing.""" res = scraper.md5hashing(self.browser, gost, 'gost') assert res
def test_whirlpool_md5hashing(self): """Test WHIRLPOOL hash with md5hashing.""" res = scraper.md5hashing(self.browser, whirlpool, 'whirlpool') assert res
def test_ripemd256_md5hashing(self): """Test RIPEMD256 hash with md5hashing.""" res = scraper.md5hashing(self.browser, ripemd256, 'rmd256') assert res
def test_ripemd320_md5hashing(self): """Test RIPEMD320 hash with md5hashing.""" res = scraper.md5hashing(self.browser, ripemd320, 'rmd320') assert res
def test_sha512_md5hashing(self): """Test SHA512 hash with md5hashing.""" res = scraper.md5hashing(self.browser, sha512, 'sha512') assert res
def test_ripemd128_md5hashing(self): """Test RIPEMD128 hash with md5hashing.""" res = scraper.md5hashing(self.browser, ripemd128, 'rmd128') assert res
def test_sha384_md5hashing(self): """Test SHA384 hash with md5hashing.""" res = scraper.md5hashing(self.browser, sha384, 'sha384') assert res
def test_sha256_md5hashing(self): """Test SHA256 hash with md5hashing.""" res = scraper.md5hashing(self.browser, sha256, 'sha256') assert res
def test_sha1_md5hashing(self): """Test SHA1 hash with md5hashing.""" res = scraper.md5hashing(self.browser, sha1, 'sha1') assert res
def test_ldap_md5_md5hashing(self): """Test LDAP MD5 hash with md5hashing.""" hash = str(base64.b64decode(ldap_md5[5:])).replace("b'", "").replace( "\\n'", "") res = scraper.md5hashing(self.browser, hash, 'md5') assert res == 'password'
def test_ripemd160_md5hashing(self): """Test RIPEMD160 hash with md5hashing.""" res = scraper.md5hashing(self.browser, ripemd160, 'rmd160') assert res == 'password'