aboutsummaryrefslogtreecommitdiff
path: root/frozen_deps/Cryptodome/Hash/SHA3_256.pyi
blob: c1a07fa7b2f182a06accda1a338bac97e6f3160a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from typing import Union, Optional

Buffer = Union[bytes, bytearray, memoryview]

class SHA3_256_Hash(object):
    digest_size: int
    oid: str
    def __init__(self, data: Optional[Buffer], update_after_digest: bool) -> None: ...
    def update(self, data: Buffer) -> SHA3_256_Hash: ...
    def digest(self) -> bytes: ...
    def hexdigest(self) -> str: ...
    def new(self) -> SHA3_256_Hash: ...

def new(__data: Buffer = ..., update_after_digest: bool = ...) -> SHA3_256_Hash: ...

digest_size: int