meck93/evote-crypto

View on GitHub
src/ec-elgamal/proofs/models.ts

Summary

Maintainability
A
2 hrs
Test Coverage
Missing semicolon
import BN = require('bn.js')
Missing semicolon
import { CurvePoint } from '../index'
 
export interface KeyGenerationProof {
Missing semicolon
c: BN
Missing semicolon
d: BN
}
 
Similar blocks of code found in 2 locations. Consider refactoring.
export interface MembershipProof {
Missing semicolon
a0: CurvePoint
Missing semicolon
a1: CurvePoint
Missing semicolon
b0: CurvePoint
Missing semicolon
b1: CurvePoint
Missing semicolon
c0: BN
Missing semicolon
c1: BN
Missing semicolon
f0: BN
Missing semicolon
f1: BN
}
 
Similar blocks of code found in 2 locations. Consider refactoring.
export interface DecryptionProof {
Missing semicolon
a1: CurvePoint
Missing semicolon
b1: CurvePoint
Missing semicolon
f: BN
Missing semicolon
d: CurvePoint
}