Election-Tech-Initiative / Election-Tech-Initiative/electionguard-cpp
Group and Element Mathematical Operator Overloads
- 主要语言
- C++
- 星标
- 26
- 派生
- 25
- PR 合并指标
- 30 天内没有已合并 PR
描述
## Generic Issue
- [ ] Ensure this issue is not a bug report or feature request
**Description**
The python version of the group and element classes have Mathematical functions for things such as adding them together, doing power operations, and other more complex ones such as (a + bc) all with making sure that the answer fits into an ElementModP or ElementModQ in the end. This is not built into the C++ version of these classes.
**Possible Solution**
Implement the basic functionalities of this using mathematical operator overloading.
**Additional context/Screenshots**
Add any other context about the problem here. If applicable, add screenshots to help explain.
贡献指南
调研方向
该 issue 没有指出任何文件或测试。将 Python 的组类和元素类与其 C++ 对应类进行比较,确定基本数学运算以及它们必须保持的 ElementModP 或 ElementModQ 约束,然后验证相应的重载行为是否一致。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp, python
- 领域
- cryptography
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100