]> Cypherpunks.ru repositories - pygost.git/blob - pygost/stubs/pygost/utils.pyi
Unused Optional import
[pygost.git] / pygost / stubs / pygost / utils.pyi
1 from typing import AnyStr
2
3
4 def strxor(a: bytes, b: bytes) -> bytes: ...
5
6
7 def hexdec(data: AnyStr) -> bytes: ...
8
9
10 def hexenc(data: bytes) -> str: ...
11
12
13 def bytes2long(raw: bytes) -> int: ...
14
15
16 def long2bytes(n: int, size: int = ...) -> bytes: ...
17
18
19 def modinvert(a: int, n: int) -> int: ...