Download lam2/lib/python3.8/site-packages/Crypto/Hash/CMAC.pyi from anusfoil/LLaQo-ckpts: direct link, hf CLI and curl.
- Browser
- Download file 822 Bytes
-
https://huggingface.co/anusfoil/LLaQo-ckpts/resolve/main/lam2/lib/python3.8/site-packages/Crypto/Hash/CMAC.pyi
- Command line
-
hf download hf://anusfoil/LLaQo-ckpts/lam2/lib/python3.8/site-packages/Crypto/Hash/CMAC.pyi
-
curl -L -o CMAC.pyi https://huggingface.co/anusfoil/LLaQo-ckpts/resolve/main/lam2/lib/python3.8/site-packages/Crypto/Hash/CMAC.pyi
822 Bytes
| from types import ModuleType | |
| from typing import Union, Dict, Any | |
| Buffer = Union[bytes, bytearray, memoryview] | |
| digest_size: int | |
| class CMAC(object): | |
| digest_size: int | |
| def __init__(self, | |
| key: Buffer, | |
| msg: Buffer, | |
| ciphermod: ModuleType, | |
| cipher_params: Dict[str, Any], | |
| mac_len: int, update_after_digest: bool) -> None: ... | |
| def update(self, data: Buffer) -> CMAC: ... | |
| def copy(self) -> CMAC: ... | |
| def digest(self) -> bytes: ... | |
| def hexdigest(self) -> str: ... | |
| def verify(self, mac_tag: Buffer) -> None: ... | |
| def hexverify(self, hex_mac_tag: str) -> None: ... | |
| def new(key: Buffer, | |
| msg: Buffer = ..., | |
| ciphermod: ModuleType = ..., | |
| cipher_params: Dict[str, Any] = ..., | |
| mac_len: int = ..., | |
| update_after_digest: bool = ...) -> CMAC: ... | |