ai_v/venv/Lib/site-packages/Cryptodome/Protocol/SecretSharing.pyi
公司git 67f2621a69 feat(payment): 集成支付宝支付与订单管理功能
- 在应用中注册支付蓝图(payment_bp)以支持支付接口
- 配置支付宝相关秘钥、回调地址及环境选项
- 新增订单模型(Order),支持订单数据存储与管理
- 管理后台接口添加订单列表查询功能,支持超级管理员访问
- 购买页面与表单修改,支持不同套餐的购买提交
- 支付成功页面提示,显示订单编号及积分到账信息
- 移除买积分按钮禁用逻辑,开放购买功能
2026-01-14 17:00:43 +08:00

23 lines
798 B
Python

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: ...