from typing import Union, List, Tuple, Optional def _mult_gf2(f1: int, f2: int) -> int : ... def _div_gf2(a: int, b: int) -> int : ... class _Element(object): irr_poly: int def __init__(self, encoded_value: Union[int, bytes]) -> None: ... def __eq__(self, other) -> bool: ... def __int__(self) -> int: ... def encode(self) -> bytes: ... def __mul__(self, factor: int) -> _Element: ... def __add__(self, term: _Element) -> _Element: ... def inverse(self) -> _Element: ... def __pow__(self, exponent) -> _Element: ... class Shamir(object): @staticmethod def split(k: int, n: int, secret: bytes, ssss: Optional[bool]) -> List[Tuple[int, bytes]]: ... @staticmethod def combine(shares: List[Tuple[int, bytes]], ssss: Optional[bool]) -> bytes: ...
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
KDF.py | File | 21.79 KB | 0644 |
|
KDF.pyi | File | 1.95 KB | 0644 |
|
SecretSharing.py | File | 8.57 KB | 0644 |
|
SecretSharing.pyi | File | 798 B | 0644 |
|
__init__.py | File | 1.51 KB | 0644 |
|
__init__.pyi | File | 43 B | 0644 |
|
_scrypt.abi3.so | File | 25.56 KB | 0755 |
|