提交
This commit is contained in:
1 parent
d336fd0226
commit
2e9d020d50
3454 files changed
+878963
-319
No files matched your search
@@ -0,0 +1,22 @@
|
||||
from typing import Union, Optional
|
||||
|
||||
Buffer = Union[bytes, bytearray, memoryview]
|
||||
|
||||
class SHA512Hash(object):
|
||||
digest_size: int
|
||||
block_size: int
|
||||
oid: str
|
||||
|
||||
def __init__(self,
|
||||
data: Optional[Buffer],
|
||||
truncate: Optional[str]) -> None: ...
|
||||
def update(self, data: Buffer) -> None: ...
|
||||
def digest(self) -> bytes: ...
|
||||
def hexdigest(self) -> str: ...
|
||||
def copy(self) -> SHA512Hash: ...
|
||||
def new(self, data: Optional[Buffer] = ...) -> SHA512Hash: ...
|
||||
|
||||
def new(data: Optional[Buffer] = ...,
|
||||
truncate: Optional[str] = ...) -> SHA512Hash: ...
|
||||
digest_size: int
|
||||
block_size: int
|
||||
Reference in new issue
Block a user