Implementation of the different encryption/decryption mechanisms used in chain-vote, including their
corresponding structures. In particular, we use (lifted) ElGamal cryptosystem, and combine with ChaCha
stream cipher to produce a hybrid encryption scheme.