aboutsummaryrefslogblamecommitdiff
path: root/frozen_deps/Cryptodome/Hash/SHA256.pyi
blob: cbf21bfb51606ad16f2656d028c12c303e01ae64 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                              
from typing import Union, Optional


class SHA256Hash(object):
    digest_size: int
    block_size: int
    oid: str
    def __init__(self, data: Optional[Union[bytes, bytearray, memoryview]]=None) -> None: ...
    def update(self, data: Union[bytes, bytearray, memoryview]) -> None: ...
    def digest(self) -> bytes: ...
    def hexdigest(self) -> str: ...
    def copy(self) -> SHA256Hash: ...
    def new(self, data: Optional[Union[bytes, bytearray, memoryview]]=None) -> SHA256Hash: ...

def new(data: Optional[Union[bytes, bytearray, memoryview]]=None) -> SHA256Hash: ...

digest_size: int
block_size: int