MCPcopy Create free account
hub / github.com/pyca/cryptography / load_vectors_from_file

Function load_vectors_from_file

tests/utils.py:42–46  ·  view source on GitHub ↗
(
    filename, loader: typing.Callable[..., T], mode="r"
)

Source from the content-addressed store, hash-verified

40
41
42def load_vectors_from_file(
43 filename, loader: typing.Callable[..., T], mode="r"
44) -> T:
45 with cryptography_vectors.open_vector_file(filename, mode) as vector_file:
46 return loader(vector_file)
47
48
49def load_nist_vectors(vector_data):

Calls

no outgoing calls