diff options
Diffstat (limited to 'lib/Crypto/Util/strxor.pyi')
-rw-r--r-- | lib/Crypto/Util/strxor.pyi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Crypto/Util/strxor.pyi b/lib/Crypto/Util/strxor.pyi new file mode 100644 index 0000000..ca896f3 --- /dev/null +++ b/lib/Crypto/Util/strxor.pyi @@ -0,0 +1,6 @@ +from typing import Union, Optional + +Buffer = Union[bytes, bytearray, memoryview] + +def strxor(term1: bytes, term2: bytes, output: Optional[Buffer]=...) -> bytes: ... +def strxor_c(term: bytes, c: int, output: Optional[Buffer]=...) -> bytes: ... |