1 from cryptography.hazmat.primitives.hashes import HashAlgorithm
3 def decode_dss_signature(signature: bytes) -> tuple[int, int]: ...
4 def encode_dss_signature(r: int, s: int) -> bytes: ...
6 class Prehashed(object):
7 _algorithm: HashAlgorithm # undocumented
8 _digest_size: int # undocumented
9 def __init__(self, algorithm: HashAlgorithm) -> None: ...