add missing constructors to _sha256, _sha512

This commit is contained in:
Matthias Kramm
2015-09-21 14:20:02 -07:00
parent 95d83049a1
commit 4b5be189f3
2 changed files with 4 additions and 0 deletions

View File

@@ -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: ...

View File

@@ -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: ...