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