Debian Codegraph @

lib/Crypto/Hash/keccak.pyi

raw symbols SCIP
1 from typing import Union, Any
2
3 Buffer = Union[bytes, bytearray, memoryview]
4
5 class Keccak_Hash(object):
6 digest_size: int
7 def __init__(self,
8 data: Buffer,
9 digest_bytes: int,
10 update_after_digest: bool) -> None: ...
11 def update(self, data: Buffer) -> Keccak_Hash: ...
12 def digest(self) -> bytes: ...
13 def hexdigest(self) -> str: ...
14 def new(self,
15 data: Buffer = ...,
16 digest_bytes: int = ...,
17 digest_bits: int = ...,
18 update_after_digest: bool = ...) -> Keccak_Hash: ...
19
20 def new(data: Buffer = ...,
21 digest_bytes: int = ...,
22 digest_bits: int = ...,
23 update_after_digest: bool = ...) -> Keccak_Hash: ...