[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.116.40.220: ~ $
from typing import Union, Callable, Optional, NamedTuple, List, Tuple, Dict, NamedTuple, Any

from Crypto.Math.Numbers import Integer

RNG = Callable[[int], bytes]

class UnsupportedEccFeature(ValueError): ...
class EccPoint(object):
    def __init__(self, x: Union[int, Integer], y: Union[int, Integer], curve: Optional[str] = ...) -> None: ...
    def set(self, point: EccPoint) -> EccPoint: ...
    def __eq__(self, point: object) -> bool: ...
    def __neg__(self) -> EccPoint: ...
    def copy(self) -> EccPoint: ...
    def is_point_at_infinity(self) -> bool: ...
    def point_at_infinity(self) -> EccPoint: ...
    @property
    def x(self) -> int: ...
    @property
    def y(self) -> int: ...
    @property
    def xy(self) -> Tuple[int, int]: ...
    def size_in_bytes(self) -> int: ...
    def size_in_bits(self) -> int: ...
    def double(self) -> EccPoint: ...
    def __iadd__(self, point: EccPoint) -> EccPoint: ...
    def __add__(self, point: EccPoint) -> EccPoint: ...
    def __imul__(self, scalar: int) -> EccPoint: ...
    def __mul__(self, scalar: int) -> EccPoint: ...

class EccKey(object):
    curve: str
    def __init__(self, *, curve: str = ..., d: int = ..., point: EccPoint = ...) -> None: ...
    def __eq__(self, other: object) -> bool: ...
    def __repr__(self) -> str: ...
    def has_private(self) -> bool: ...
    @property
    def d(self) -> int: ...
    @property
    def pointQ(self) -> EccPoint: ...
    def public_key(self) -> EccKey: ...
    def export_key(self, **kwargs: Union[str, bytes, bool]) -> Union[str,bytes]: ...


_Curve = NamedTuple("_Curve", [('p', Integer),
                               ('order', Integer),
                               ('b', Integer),
                               ('Gx', Integer),
                               ('Gy', Integer),
                               ('G', EccPoint),
                               ('modulus_bits', int),
                               ('oid', str),
                               ('context', Any),
                               ('desc', str),
                               ('openssh', Union[str, None]),
                               ])

_curves : Dict[str, _Curve]


def generate(**kwargs: Union[str, RNG]) -> EccKey: ...
def construct(**kwargs: Union[str, int]) -> EccKey: ...
def import_key(encoded: Union[bytes, str],
               passphrase: Optional[str]=None,
               curve_name:Optional[str]=None) -> EccKey: ...
def _import_ed25519_public_key(encoded: bytes) -> EccKey: ...
def _import_ed448_public_key(encoded: bytes) -> EccKey: ...

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
DSA.py File 21.85 KB 0644
DSA.pyi File 1.35 KB 0644
ECC.py File 63.25 KB 0644
ECC.pyi File 2.5 KB 0644
ElGamal.py File 8.41 KB 0644
ElGamal.pyi File 674 B 0644
RSA.py File 29.26 KB 0644
RSA.pyi File 1.98 KB 0644
__init__.py File 3.07 KB 0644
__init__.pyi File 0 B 0644
_ec_ws.abi3.so File 938 KB 0755
_ed25519.abi3.so File 215.34 KB 0755
_ed448.abi3.so File 244.68 KB 0755
_openssh.py File 5.01 KB 0644
_openssh.pyi File 324 B 0644
_x25519.abi3.so File 77.57 KB 0755