GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Simple-Homomorphic-Encryption/demo_vote_counter.h at master · obserthinker/Simple-Homomorphic-Encryption Expand file tree/ Copy pathdemo_vote_counter.hMore file actions 18 lines (17 loc) · 393 Bytes / Copy pathdemo_vote_counter.hFile metadata and controls18 lines (17 loc) · 393 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #include "fully_homomorphic.h" class DemoVoteCounter { private: SecuritySettings* sec; unsigned int num_candidates; CipherBit** votes; FullyHomomorphic* fh; bool verify_vote(unsigned int vote_id); PrivateKey sk; PublicKey pk; unsigned int num_votes; public: DemoVoteCounter(unsigned int num_candidates); void get_votes(); void verify_votes(); void count_votes(); }; |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |