MCPcopy Create free account
hub / github.com/python/cpython / shatest

Method shatest

Lib/test/test_hmac.py:453–454  ·  view source on GitHub ↗
(key, msg, hexdigest)

Source from the content-addressed store, hash-verified

451
452 def test_sha1_rfc2202(self):
453 def shatest(key, msg, hexdigest):
454 self.assert_hmac(key, msg, hexdigest, self.sha1, "sha1", 20, 64)
455
456 shatest(b"\x0b" * 20,
457 b"Hi There",

Callers

nothing calls this directly

Calls 1

assert_hmacMethod · 0.80

Tested by

no test coverage detected