HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //proc/1233/cwd/home/arjun/projects/env/lib/python3.10/site-packages/Crypto/Hash/keccak.pyi
from typing import Union, Any

Buffer = Union[bytes, bytearray, memoryview]

class Keccak_Hash(object):
    digest_size: int
    def __init__(self,
                 data: Buffer,
                 digest_bytes: int,
                 update_after_digest: bool) -> None: ...
    def update(self, data: Buffer) -> Keccak_Hash: ...
    def digest(self) -> bytes: ...
    def hexdigest(self) -> str: ...
    def new(self,
            data: Buffer = ...,
            digest_bytes: int = ...,
            digest_bits: int = ...,
            update_after_digest: bool = ...) -> Keccak_Hash: ...

def new(data: Buffer = ...,
        digest_bytes: int = ...,
        digest_bits: int = ...,
        update_after_digest: bool = ...) -> Keccak_Hash: ...