mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
add missing constructors to _sha256, _sha512
This commit is contained in:
1 parent
95d83049a1
commit
4b5be189f3
2 files changed
+4
No files matched your search
@@ -3,6 +3,7 @@ class sha224(object):
|
||||
block_size = ... # type: int
|
||||
digest_size = ... # type: int
|
||||
digestsize = ... # type: int
|
||||
def __init__(self, init: Optional[str]) -> None: ...
|
||||
def copy(self) -> "sha224": ...
|
||||
def digest(self) -> str: ...
|
||||
def hexdigest(self) -> str: ...
|
||||
@@ -13,6 +14,7 @@ class sha256(object):
|
||||
block_size = ... # type: int
|
||||
digest_size = ... # type: int
|
||||
digestsize = ... # type: int
|
||||
def __init__(self, init: Optional[str]) -> None: ...
|
||||
def copy(self) -> "sha256": ...
|
||||
def digest(self) -> str: ...
|
||||
def hexdigest(self) -> str: ...
|
||||
|
||||
@@ -3,6 +3,7 @@ class sha384(object):
|
||||
block_size = ... # type: int
|
||||
digest_size = ... # type: int
|
||||
digestsize = ... # type: int
|
||||
def __init__(self, init: Optional[str]) -> None: ...
|
||||
def copy(self) -> "sha384": ...
|
||||
def digest(self) -> str: ...
|
||||
def hexdigest(self) -> str: ...
|
||||
@@ -13,6 +14,7 @@ class sha512(object):
|
||||
block_size = ... # type: int
|
||||
digest_size = ... # type: int
|
||||
digestsize = ... # type: int
|
||||
def __init__(self, init: Optional[str]) -> None: ...
|
||||
def copy(self) -> "sha512": ...
|
||||
def digest(self) -> str: ...
|
||||
def hexdigest(self) -> str: ...
|
||||
|
||||
Reference in new issue
Block a user