MCPcopy Index your code
hub / github.com/RustPython/RustPython / shatest

Method shatest

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

assert_hmacMethod · 0.80

Tested by

no test coverage detected