Election-Tech-Initiative / Election-Tech-Initiative/electionguard-cpp

Group and Element Mathematical Operator Overloads

Aperta
#130 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
code owner only triage
Lingua principale
C++
Stelle
26
Fork
25
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

L'issue non indica alcun file o test. Confronta le classi di gruppi ed elementi Python con le controparti C++, individua le operazioni matematiche di base e i vincoli ElementModP o ElementModQ che devono preservare, quindi verifica che gli overload corrispondenti si comportino in modo coerente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp, python
Ambito
cryptography
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.