Debian Codegraph @

lib/Crypto/Hash/BLAKE2b.pyi

raw symbols SCIP
1 from typing import Any, Union
2 from types import ModuleType
3
4 Buffer = Union[bytes, bytearray, memoryview]
5
6 class BLAKE2b_Hash(object):
7 block_size: int
8 digest_size: int
9 oid: str
10
11 def __init__(self,
12 data: Buffer,
13 key: Buffer,
14 digest_bytes: bytes,
15 update_after_digest: bool) -> None: ...
16 def update(self, data: Buffer) -> BLAKE2b_Hash: ...
17 def digest(self) -> bytes: ...
18 def hexdigest(self) -> str: ...
19 def verify(self, mac_tag: Buffer) -> None: ...
20 def hexverify(self, hex_mac_tag: str) -> None: ...
21 def new(self,
22 data: Buffer = ...,
23 digest_bytes: int = ...,
24 digest_bits: int = ...,
25 key: Buffer = ...,
26 update_after_digest: bool = ...) -> BLAKE2b_Hash: ...
27
28 def new(data: Buffer = ...,
29 digest_bytes: int = ...,
30 digest_bits: int = ...,
31 key: Buffer = ...,
32 update_after_digest: bool = ...) -> BLAKE2b_Hash: ...