Add nonce_increment and wipe functions on typing.
This commit is contained in:
@@ -120,3 +120,7 @@ class Cipher(Protocol):
|
||||
maclen: int = ...,
|
||||
into: "Buffer | None" = None,
|
||||
) -> bytearray | memoryview: ...
|
||||
@staticmethod
|
||||
def nonce_increment(nonce: "Buffer") -> None: ...
|
||||
@staticmethod
|
||||
def wipe(buffer: "Buffer") -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user