aboutsummaryrefslogblamecommitdiff
path: root/frozen_deps/Cryptodome/Hash/SHA3_256.pyi
blob: 88436bd8f3050e0de265427a27067aecee502e39 (plain) (tree)
1
2
3
4
5
6
7





                                            
                   




                                                                                      

                                                               



                                                                                    
               
from typing import Union, Optional

Buffer = Union[bytes, bytearray, memoryview]

class SHA3_256_Hash(object):
    digest_size: int
    block_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 copy(self) -> SHA3_256_Hash: ...
    def new(self, data: Optional[Buffer]) -> SHA3_256_Hash: ...

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

digest_size: int
block_size: int