danwallach / ElectionGuard-TypeScript

TypeScript implementation of ElectionGuard (subset for ballot encryption)
MIT License
8 stars 0 forks source link

Test that our ciphertexts match those in the sample data #28

Closed shreyasminocha closed 2 years ago

shreyasminocha commented 2 years ago

Currently test-vectors.test.ts compares our {de,re}serialization against the sample data. We want to also check that the numbers line up. Bonus points for making the hashes match.

shreyasminocha commented 2 years ago

Encryption is now compatible! Our hashes, ciphertexts, and proofs match those in the sample data. As discussed earlier, we're not worrying about extended data for now.